mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-31 07:32:53 +00:00
fix(v2): make doc sidebar height equal viewport (#2171)
This commit is contained in:
parent
1c032a0bd9
commit
3aca44ce67
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
@media (min-width: 997px) {
|
||||
.sidebar {
|
||||
height: calc(100vh - var(--ifm-navbar-height));
|
||||
height: 100vh;
|
||||
overflow-y: auto;
|
||||
padding: 0.5rem;
|
||||
position: sticky;
|
||||
|
|
|
|||
Loading…
Reference in New Issue