File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ $alert-colors: (
140
140
141
141
// If .btn is not the last element in the group, remove the right border.
142
142
// Also uses :has to not remove the right border if the next element is a disabled input
143
- .btn :not (:last-child ):not ( .dropdown-toggle ) : has (+ :not (.btn-check [disabled ])), .btn-group :not ( :last-child ) > .btn {
143
+ .btn :not (:last-child ):has (+ :not (.btn-check [disabled ])) {
144
144
border-right : 0 ;
145
145
}
146
146
@@ -149,9 +149,8 @@ $alert-colors: (
149
149
border-left : 0 ;
150
150
}
151
151
152
- // Revert Bootstrap (Prevent double borders when buttons are next to each other)
153
- > :not (.btn-check :first-child ) + .btn ,
154
- > .btn-group :not (:first-child ) {
152
+ // Revert Bootstrap's hack, that uses negative margin which would appear as double borders
153
+ :not (.btn-check :first-child ) + .btn {
155
154
margin-left : unset ;
156
155
}
157
156
}
You can’t perform that action at this time.
0 commit comments