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:
parent
70f4a30def
commit
3706c88348
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user