Skip to content

Commit 781b7bc

Browse files
authored
Fix Safari logo (#164)
1 parent 5304e16 commit 781b7bc

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

docs/public/styles/api3.css

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,6 @@ html.dark .vp-code span[style*="--shiki-dark:#6A737D"] {
595595
@media (min-width: 960px) {
596596
.VPHome .image-src {
597597
max-width: 272px;
598-
margin-left: 64px;
599598
}
600599

601600
.VPHero.has-image .main {
@@ -609,6 +608,7 @@ html.dark .vp-code span[style*="--shiki-dark:#6A737D"] {
609608
max-width: 656px;
610609
max-height: 596px;
611610
margin-top: 128px;
611+
margin-left: 0 !important;
612612
}
613613

614614
.VPHero.has-image .main {
@@ -617,3 +617,16 @@ html.dark .vp-code span[style*="--shiki-dark:#6A737D"] {
617617
margin-top: 128px;
618618
}
619619
}
620+
621+
.VPHome .VPHero .image-container {
622+
transform: unset !important;
623+
}
624+
625+
.VPHome .VPHero .image-container .VPImage {
626+
transform: translateZ(0px);
627+
margin: 0;
628+
margin-left: 5vw;
629+
position: absolute;
630+
top: 32px;
631+
left: 32px;
632+
}

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
"version": "1.0.0",
44
"main": "index.js",
55
"license": "MIT",
6-
"engines": {
7-
"node": "20"
8-
},
96
"packageManager": "pnpm@9.15.2",
107
"resolutions": {},
118
"scripts": {

0 commit comments

Comments
 (0)