aboutsummaryrefslogtreecommitdiff
path: root/assets/scss
diff options
context:
space:
mode:
authorGijs Boddeus <[email protected]>2017-10-20 09:12:38 +0200
committerXhmikosR <[email protected]>2017-10-20 10:12:38 +0300
commitb21c822e50f36e4e57cd68cd616ec9edf9dc2de7 (patch)
tree2c6c5380ea76597d384e39f5d34d931d2c3a1494 /assets/scss
parent9e6dabbb106a8a84a0c910139f9705e1aeb9cb83 (diff)
downloadbootstrap-b21c822e50f36e4e57cd68cd616ec9edf9dc2de7.tar.xz
bootstrap-b21c822e50f36e4e57cd68cd616ec9edf9dc2de7.zip
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.
Diffstat (limited to 'assets/scss')
-rw-r--r--assets/scss/_sidebar.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/scss/_sidebar.scss b/assets/scss/_sidebar.scss
index fdf3ef242..f4251f871 100644
--- a/assets/scss/_sidebar.scss
+++ b/assets/scss/_sidebar.scss
@@ -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);
}