We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7770c2 commit 73de93dCopy full SHA for 73de93d
1 file changed
docs/sliver-docs/styles/globals.css
@@ -13,10 +13,17 @@ body {
13
scrollbar-gutter: stable both-edges;
14
}
15
16
+/*
17
+ Keep html as the single scrolling element. Setting overflow on both html
18
+ and body breaks sticky sidebar behavior on docs/tutorial pages.
19
+*/
20
+html {
21
+ overflow-y: scroll;
22
+}
23
+
24
/* Fallback for engines that do not support scrollbar-gutter. */
25
@supports not (scrollbar-gutter: stable) {
- html,
- body {
26
+ html {
27
overflow-y: scroll;
28
29
@@ -26,8 +33,7 @@ body {
33
scrollbar appears/disappears. Keep the page scrollbar track persistent.
34
*/
35
@media (min-width: 1024px) {
30
36
31
37
32
38
39
0 commit comments