Skip to content

Commit 0a28e6f

Browse files
authored
docs: fix scroll-y on sidebar (#1653)
The documentation cannot be scrolled when the content bigger than container. Add `overflow-y: auto;` fix this problem.
1 parent 069a691 commit 0a28e6f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/css/index.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ body > nav {
2525
background: #F4F4F4;
2626
font-size: 15px;
2727
padding-right: 10px;
28+
overflow-y: auto;
2829
}
2930

3031
nav > ul {
@@ -120,4 +121,4 @@ p {
120121
h1#pdfkit + h2 {
121122
margin-top: 0;
122123
font-size: 1.2em;
123-
}
124+
}

0 commit comments

Comments
 (0)