Skip to content

Commit 971449c

Browse files
committed
Update CSS for Fullscreen Swiper
1 parent 3ff9a79 commit 971449c

File tree

4 files changed

+16
-13
lines changed

4 files changed

+16
-13
lines changed

.vitepress/theme/custom.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ table th {
2424
display: none;
2525
}
2626

27-
/* NOTE: This is a "fix" for the search modal content shift */
28-
@supports (scrollbar-gutter: stable) {
29-
@media (min-width: 769px) {
30-
html {
31-
scrollbar-gutter: stable;
32-
}
33-
}
34-
}
27+
/*!* NOTE: This is a "fix" for the search modal content shift *!*/
28+
/*!* NOTE: This fix has bugs on fullscreen elements like swiper *!*/
29+
/*@supports (scrollbar-gutter: stable) {*/
30+
/* !* Note: local search is: 768px *!*/
31+
/* @media (min-width: 769px) {*/
32+
/* html {*/
33+
/* scrollbar-gutter: stable;*/
34+
/* }*/
35+
/* }*/
36+
/*}*/
3537

3638
.vp-doc p > img,
3739
.vp-doc p > a > img {

docs/team.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sidebar: false
55
title: Our Team
66
---
77

8+
<!--suppress ES6UnusedImports -->
89
<script setup>
910
import { VPTeamPage, VPTeamPageTitle, VPTeamMembers } from 'vitepress/theme';
1011
import { members } from '../.vitepress/team.js';

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies": {
1313
"@cssnr/vitepress-plugin-contributors": "^0.0.3",
1414
"@cssnr/vitepress-plugin-copybutton": "^0.0.2",
15-
"@cssnr/vitepress-swiper": "^0.2.0",
15+
"@cssnr/vitepress-swiper": "^0.2.1",
1616
"animate.css": "^4.1.1",
1717
"vitepress": "^1.6.4"
1818
},

0 commit comments

Comments
 (0)