Skip to content

Commit 5fface7

Browse files
committed
fix: hide hero image on mobile — target correct VitePress .image class
1 parent e2b26ba commit 5fface7

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

docs/.vitepress/theme/style.css

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,9 @@
66
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
77
}
88

9-
@media (max-width: 768px) {
10-
.VPHero .image-container {
11-
display: none;
12-
}
13-
.VPHero .container {
14-
flex-direction: column;
15-
}
16-
.VPHero .main {
17-
max-width: 100%;
18-
text-align: center;
9+
@media (max-width: 959px) {
10+
.VPHero.has-image .image {
11+
display: none !important;
1912
}
2013
}
2114

0 commit comments

Comments
 (0)