mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-21 18:54:30 +01:00
Fix caret position for Dropdown in a bottom navbar
This commit is contained in:
parent
101129763c
commit
a9e7abd29b
@ -75,11 +75,10 @@
|
|||||||
float: none;
|
float: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropup {
|
.dropdown-toggle {
|
||||||
.dropdown-menu {
|
&::after {
|
||||||
position: absolute;
|
border-top: $caret-width solid;
|
||||||
top: auto;
|
border-bottom: 0;
|
||||||
bottom: 100%;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -152,6 +151,18 @@
|
|||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.dropup {
|
||||||
|
.dropdown-menu {
|
||||||
|
position: absolute;
|
||||||
|
top: auto;
|
||||||
|
bottom: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-toggle {
|
||||||
|
@include caret(up);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@include media-breakpoint-up($next) {
|
@include media-breakpoint-up($next) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user