Skip to content

Commit

Permalink
Fix caret alignment (#25719)
Browse files Browse the repository at this point in the history
  • Loading branch information
ysds authored and XhmikosR committed Mar 12, 2018
1 parent 21061a0 commit 50220ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scss/_button-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
1 change: 1 addition & 0 deletions scss/mixins/_caret.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 50220ac

Please sign in to comment.