mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 18:40:03 +00: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) {
|
@supports (position: sticky) {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 4rem;
|
top: 4rem;
|
||||||
max-height: calc(100vh - 4rem);
|
height: calc(100vh - 4rem);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
order: 2;
|
order: 2;
|
||||||
@ -59,7 +59,7 @@
|
|||||||
position: sticky;
|
position: sticky;
|
||||||
top: 4rem;
|
top: 4rem;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
max-height: calc(100vh - 4rem);
|
height: calc(100vh - 4rem);
|
||||||
}
|
}
|
||||||
border-right: 1px solid rgba(0,0,0,.1);
|
border-right: 1px solid rgba(0,0,0,.1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user