mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fix caret position for Dropdown in a bottom navbar
This commit is contained in:
parent
101129763c
commit
a9e7abd29b
1 changed files with 16 additions and 5 deletions
|
@ -75,11 +75,10 @@
|
|||
float: none;
|
||||
}
|
||||
|
||||
.dropup {
|
||||
.dropdown-menu {
|
||||
position: absolute;
|
||||
top: auto;
|
||||
bottom: 100%;
|
||||
.dropdown-toggle {
|
||||
&::after {
|
||||
border-top: $caret-width solid;
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -152,6 +151,18 @@
|
|||
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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue