mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Change max-height
to height
in documentation sidebars (#24446)
If the content of the page does not extend the full viewport height, the sidebars were shortened.
This commit is contained in:
parent
9e6dabbb10
commit
b21c822e50
@ -8,7 +8,7 @@
|
||||
@supports (position: sticky) {
|
||||
position: sticky;
|
||||
top: 4rem;
|
||||
max-height: calc(100vh - 4rem);
|
||||
height: calc(100vh - 4rem);
|
||||
overflow-y: auto;
|
||||
}
|
||||
order: 2;
|
||||
@ -59,7 +59,7 @@
|
||||
position: sticky;
|
||||
top: 4rem;
|
||||
z-index: 1000;
|
||||
max-height: calc(100vh - 4rem);
|
||||
height: calc(100vh - 4rem);
|
||||
}
|
||||
border-right: 1px solid rgba(0,0,0,.1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user