Skip to content

Commit 7b5e48d

Browse files
authored
fix(custom forms): disabled checked states weren't overriding background-image (#30922)
1 parent c3572ce commit 7b5e48d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scss/_custom-forms.scss

+4
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,11 @@
137137
.custom-control-input:disabled {
138138
&:checked ~ .custom-control-label::before {
139139
background-color: $custom-control-indicator-checked-disabled-bg;
140+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
140141
}
141142
&:indeterminate ~ .custom-control-label::before {
142143
background-color: $custom-control-indicator-checked-disabled-bg;
144+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
143145
}
144146
}
145147
}
@@ -163,6 +165,7 @@
163165
.custom-control-input:disabled {
164166
&:checked ~ .custom-control-label::before {
165167
background-color: $custom-control-indicator-checked-disabled-bg;
168+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
166169
}
167170
}
168171
}
@@ -206,6 +209,7 @@
206209
.custom-control-input:disabled {
207210
&:checked ~ .custom-control-label::before {
208211
background-color: $custom-control-indicator-checked-disabled-bg;
212+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
209213
}
210214
}
211215
}

0 commit comments

Comments
 (0)