Skip to content

Commit 9769815

Browse files
committed
remove unused css selectors
1 parent 109f3ee commit 9769815

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

evap/static/scss/_adjustments.scss

+3-4
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ $alert-colors: (
140140

141141
// If .btn is not the last element in the group, remove the right border.
142142
// 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])) {
144144
border-right: 0;
145145
}
146146

@@ -149,9 +149,8 @@ $alert-colors: (
149149
border-left: 0;
150150
}
151151

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 {
155154
margin-left: unset;
156155
}
157156
}

0 commit comments

Comments
 (0)