mirror of https://github.com/twbs/bootstrap.git
Fix dropup in bottom navbar for all the breakpoints
This commit is contained in:
parent
133cc32197
commit
b9c4a5cde2
|
|
@ -74,13 +74,6 @@
|
|||
position: static;
|
||||
float: none;
|
||||
}
|
||||
|
||||
.dropdown-toggle {
|
||||
&::after {
|
||||
border-top: $caret-width solid;
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -151,18 +144,6 @@
|
|||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.dropup {
|
||||
.dropdown-menu {
|
||||
position: absolute;
|
||||
top: auto;
|
||||
bottom: 100%;
|
||||
}
|
||||
|
||||
.dropdown-toggle {
|
||||
@include caret(up);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up($next) {
|
||||
|
|
@ -203,6 +184,13 @@
|
|||
.navbar-toggler {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dropup {
|
||||
.dropdown-menu {
|
||||
top: auto;
|
||||
bottom: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue