We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 333c94b commit 9389d31Copy full SHA for 9389d31
docs/stylesheets/responsive.css
@@ -60,10 +60,20 @@ article .typography h2 {
60
white-space: nowrap !important;
61
}
62
63
+/* 方法3:如果上面不生效,使用更具体的选择器 */
64
+div[data-slot="sidebar-content"].no-scrollbar {
65
+ scrollbar-width: thin !important;
66
+}
67
-/* :root {
- --sidebar-width: 30rem;
-} */
68
+div[data-slot="sidebar-content"].no-scrollbar::-webkit-scrollbar {
69
+ display: block !important;
70
+ width: 1px !important;
71
72
+
73
+.sidebar .text-sidebar-foreground,
74
+div.text-sidebar-foreground.sticky {
75
+ height: calc(100svh - var(--header-height) - 20px) !important;
76
77
78
/*
79
* Responsive Enhancements for OpenJudge Documentation
0 commit comments