0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

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
This commit is contained in:
Pierre Vanduynslager 2017-01-21 16:06:00 -05:00 committed by Mark Otto
parent eb361fa6c1
commit 9cf235508d

View File

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