From: Mark Otto Date: Sun, 18 Jun 2017 05:29:54 +0000 (-0700) Subject: follow up to 4bab8b890e5337cda3a3221462ab40a84d96c3b4 to avoid the max-height if... X-Git-Tag: v4.0.0-beta~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1d07a8e7ca1c1d6914646423a9ffcec6adb6a35;p=thirdparty%2Fbootstrap.git follow up to 4bab8b890e5337cda3a3221462ab40a84d96c3b4 to avoid the max-height if there's no sticky --- diff --git a/assets/scss/_sidebar.scss b/assets/scss/_sidebar.scss index b8f311f209..ebcc23c449 100644 --- a/assets/scss/_sidebar.scss +++ b/assets/scss/_sidebar.scss @@ -76,8 +76,10 @@ margin-left: -15px; @include media-breakpoint-up(md) { - max-height: calc(100vh - 9rem); - overflow-y: auto; + @supports (position: sticky) { + max-height: calc(100vh - 9rem); + overflow-y: auto; + } } // Override collapse behaviors