diff options
| author | Catalin Zalog <[email protected]> | 2017-05-22 17:20:58 +0300 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2017-05-22 16:20:58 +0200 |
| commit | 3706c88348781869c9739b8bbfe078ecb044caf8 (patch) | |
| tree | 4dd274b0a57ee20c7642437ad09f7334c4b4fc7c | |
| parent | 70f4a30defaa1d3269385ce713a5926ab84d7727 (diff) | |
| download | bootstrap-3706c88348781869c9739b8bbfe078ecb044caf8.tar.xz bootstrap-3706c88348781869c9739b8bbfe078ecb044caf8.zip | |
Fix (css): force .navbar .dropdown-menu positioning
| -rw-r--r-- | scss/_navbar.scss | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/scss/_navbar.scss b/scss/_navbar.scss index bc05382d6..9bf4cc0e2 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -75,6 +75,12 @@ padding-right: 0; padding-left: 0; } + + .dropdown-menu { + position: static !important; + float: none; + transform: unset !important; + } } @@ -136,14 +142,6 @@ &#{$infix} { @include media-breakpoint-down($breakpoint) { - .navbar-nav { - .dropdown-menu { - position: static !important; - float: none; - transform: unset !important; - } - } - > .container, > .container-fluid { padding-right: 0; @@ -160,7 +158,8 @@ flex-direction: row; .dropdown-menu { - position: absolute; + position: absolute !important; + top: 100% !important; } .nav-link { |
