Skip to content

Commit 1a92c8e

Browse files
committed
Hide docs sidebar on small screens
1 parent 1a1cef1 commit 1a92c8e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,15 @@ body {
1919
width: var(--sidebar-width);
2020
}
2121

22+
@media screen and (width <= 768px) {
23+
body {
24+
padding-left: 0;
25+
}
26+
#header {
27+
display: none;
28+
}
29+
}
30+
2231
#header h1 {
2332
font-family: "Bebas Neue", sans-serif;
2433
color: white;

0 commit comments

Comments
 (0)