aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bonaccorsi <[email protected]>2015-09-02 22:08:52 +0100
committerLuke Bonaccorsi <[email protected]>2015-09-02 22:08:52 +0100
commit319009a72b8889d8db5b84ad69ce4118cdf3143f (patch)
tree979a6413f508c54bdb603a1a9ed42db8a7aa65a0
parentd13c4b35d458e359208da6abbe89b8932fc87dd0 (diff)
downloadbootstrap-319009a72b8889d8db5b84ad69ce4118cdf3143f.tar.xz
bootstrap-319009a72b8889d8db5b84ad69ce4118cdf3143f.zip
Added .navbar-toggleable-md class
In Bootstrap 3, the menu collapsed on the -sm- breakpoint, I believe the equivalent of this breakpoint in Bootstrap 4 is actually the -md- breakpoint. The navbar currently has no option to collapse at the -md- breakpoint and I'd like to add this.
-rw-r--r--scss/_navbar.scss5
1 files changed, 5 insertions, 0 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss
index 7fbd4448e..d812212a0 100644
--- a/scss/_navbar.scss
+++ b/scss/_navbar.scss
@@ -129,6 +129,11 @@
display: block !important;
}
}
+ &-md {
+ @include media-breakpoint-up(lg) {
+ display: block !important;
+ }
+ }
}