mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 04:12:53 +02:00
Show scrollbar only when sidebar is too long (#800)
This commit is contained in:
parent
66b2033546
commit
e4b9b9861b
1 changed files with 1 additions and 1 deletions
|
@ -1567,7 +1567,7 @@ input::placeholder {
|
||||||
height: calc(100vh - 50px);
|
height: calc(100vh - 50px);
|
||||||
position: -webkit-sticky;
|
position: -webkit-sticky;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
overflow-y: scroll;
|
overflow-y: auto;
|
||||||
top: 50px; /* Height of navbar */
|
top: 50px; /* Height of navbar */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue