mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
fix(v2): make doc sidebar height equal viewport (#2171)
This commit is contained in:
parent
1c032a0bd9
commit
3aca44ce67
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
@media (min-width: 997px) {
|
@media (min-width: 997px) {
|
||||||
.sidebar {
|
.sidebar {
|
||||||
height: calc(100vh - var(--ifm-navbar-height));
|
height: 100vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue