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

Fix (css): force .navbar .dropdown-menu positioning

This commit is contained in:
Catalin Zalog 2017-05-22 17:20:58 +03:00 committed by Johann-S
parent 70f4a30def
commit 3706c88348

View File

@ -75,6 +75,12 @@
padding-right: 0; padding-right: 0;
padding-left: 0; padding-left: 0;
} }
.dropdown-menu {
position: static !important;
float: none;
transform: unset !important;
}
} }
@ -136,14 +142,6 @@
&#{$infix} { &#{$infix} {
@include media-breakpoint-down($breakpoint) { @include media-breakpoint-down($breakpoint) {
.navbar-nav {
.dropdown-menu {
position: static !important;
float: none;
transform: unset !important;
}
}
> .container, > .container,
> .container-fluid { > .container-fluid {
padding-right: 0; padding-right: 0;
@ -160,7 +158,8 @@
flex-direction: row; flex-direction: row;
.dropdown-menu { .dropdown-menu {
position: absolute; position: absolute !important;
top: 100% !important;
} }
.nav-link { .nav-link {