2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03:00

V4: Add :disabled for disabled fieldset (#29762)

This commit is contained in:
Shohei Yoshida
2019-11-28 21:35:46 +09:00
committed by XhmikosR
parent c24aaa6cbf
commit 0d148d8854
2 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -216,9 +216,9 @@ textarea.form-control {
margin-top: $form-check-input-margin-y;
margin-left: -$form-check-input-gutter;
// Use disabled attribute instead of :disabled pseudo-class
// Workaround for: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11295231
&[disabled] ~ .form-check-label {
// Use [disabled] and :disabled for workaround https://github.com/twbs/bootstrap/issues/28247
&[disabled] ~ .form-check-label,
&:disabled ~ .form-check-label {
color: $text-muted;
}
}