Commit 60f31b32 authored by Shohei Yoshida's avatar Shohei Yoshida Committed by XhmikosR
Browse files

Workaround for MS edge bug (#28275)

9 merge requests!36532My v4 dev,!34086v4: Fix prevented show event disables modals with fade class from being displayed again,!33729V4 dev,!33086V4 dev,!31901Add opacity utilities,!31513Update icons.md,!30331Removed 'shrink-to-fit' from `viewport` meta,!29732V4 dev,!28937Add *-shadow classes
Showing with 9 additions and 3 deletions
+9 -3
......@@ -51,7 +51,9 @@
@include box-shadow($custom-control-indicator-active-box-shadow);
}
&:disabled {
// Use disabled attribute instead of :disabled pseudo-class
// Workaround for: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11295231
&[disabled] {
~ .custom-control-label {
color: $custom-control-label-disabled-color;
......@@ -307,7 +309,9 @@
box-shadow: $custom-file-focus-box-shadow;
}
&:disabled ~ .custom-file-label {
// Use disabled attribute instead of :disabled pseudo-class
// Workaround for: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11295231
&[disabled] ~ .custom-file-label {
background-color: $custom-file-disabled-bg;
}
......
......@@ -210,7 +210,9 @@ textarea.form-control {
margin-top: $form-check-input-margin-y;
margin-left: -$form-check-input-gutter;
&:disabled ~ .form-check-label {
// 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 {
color: $text-muted;
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment