0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-28 10:24:19 +01:00

Fix caret alignment (#25719)

This commit is contained in:
ysds 2018-03-13 01:51:00 +09:00 committed by XhmikosR
parent 21061a02ce
commit 50220acde4
2 changed files with 8 additions and 1 deletions

View File

@ -76,9 +76,15 @@
padding-right: $btn-padding-x * .75;
padding-left: $btn-padding-x * .75;
&::after {
&::after,
.dropup &::after,
.dropright &::after {
margin-left: 0;
}
.dropleft &::before {
margin-right: 0;
}
}
.btn-sm + .dropdown-toggle-split {

View File

@ -14,6 +14,7 @@
@mixin caret-right {
border-top: $caret-width solid transparent;
border-right: 0;
border-bottom: $caret-width solid transparent;
border-left: $caret-width solid;
}