diff options
| author | Pierre Vanduynslager <[email protected]> | 2017-01-21 16:06:00 -0500 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-01-21 13:06:00 -0800 |
| commit | 9cf235508d8ae881304877e0c4da3258c69de867 (patch) | |
| tree | b89386d5b9462edacbb45010498945dde00c2133 | |
| parent | eb361fa6c120f5f817a70d3f6acbc197aee3844b (diff) | |
| download | bootstrap-9cf235508d8ae881304877e0c4da3258c69de867.tar.xz bootstrap-9cf235508d8ae881304877e0c4da3258c69de867.zip | |
Fix container within navbar on smallest breakpoint (#21722)
* Make container in navbar to occupy full width even on smallest breakpoint
* Fix typo in comment
* Apply fix only on smaller breakpoint
* drop the comment as chrome doesn't have a bug here
| -rw-r--r-- | scss/_navbar.scss | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss index 80beec8f3..8dd8729bc 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -20,6 +20,13 @@ display: flex; flex-direction: column; padding: $navbar-padding-y $navbar-padding-x; + + @include media-breakpoint-down(nth(map-keys($grid-breakpoints), 1)) { + > .container { + margin-right: 0; + margin-left: 0; + } + } } |
