1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 22:41:20 +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:
Gijs Boddeus
2017-10-20 09:12:38 +02:00
committed by XhmikosR
parent 9e6dabbb10
commit b21c822e50

View File

@@ -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);
}