mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 14:54:27 +02: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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user