From 9cf235508d8ae881304877e0c4da3258c69de867 Mon Sep 17 00:00:00 2001 From: Pierre Vanduynslager Date: Sat, 21 Jan 2017 16:06:00 -0500 Subject: [PATCH] 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 --- scss/_navbar.scss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scss/_navbar.scss b/scss/_navbar.scss index 80beec8f3e..8dd8729bc9 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; + } + } }