mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
v5: Fix disabled styling on .form-file (#29022)
While #28450 overhauled a ton of forms work, the support for this custom file input was ineffective. This updates the selector to target the custom field and gray out the entire field. Fixes #28176.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
// Use disabled attribute instead of :disabled pseudo-class
|
||||
// Workaround for: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11295231
|
||||
&[disabled] ~ .form-file-label {
|
||||
&[disabled] ~ .form-file-label .form-file-text {
|
||||
background-color: $form-file-disabled-bg;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user