mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
css: .navbar-expand .dropdown position
Set/reset `.dropdown` position when `.navbar-expand`. Demo: http://jsbin.com/pojecuh
This commit is contained in:
parent
2436ad589c
commit
8423e5c3e6
@ -31,7 +31,7 @@
|
||||
justify-content: space-between;
|
||||
|
||||
@include media-breakpoint-down(nth(map-keys($grid-breakpoints), 1)) {
|
||||
width: 100%; // prevent flex parent container(-fluid) from collapsing
|
||||
width: 100%; // prevent flex parent container from collapsing
|
||||
margin-right: 0;
|
||||
margin-left: 0;
|
||||
}
|
||||
@ -159,6 +159,10 @@
|
||||
.navbar-nav {
|
||||
flex-direction: row;
|
||||
|
||||
.dropdown-menu {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
padding-right: .5rem;
|
||||
padding-left: .5rem;
|
||||
|
Loading…
Reference in New Issue
Block a user