Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
5e459e9b
Commit
5e459e9b
authored
6 years ago
by
Shohei Yoshida
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Workaround for MS edge bug (#28275)
parent
ad0f5f15
4 merge requests
!31948
Examples/Floating-labels: fix bad behavior with autofill
,
!30064
test
,
!28882
fix custom-select-indicator in IE10
,
!28721
Hot test
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_custom-forms.scss
+6
-2
scss/_custom-forms.scss
scss/_forms.scss
+3
-1
scss/_forms.scss
with
9 additions
and
3 deletions
+9
-3
scss/_custom-forms.scss
+
6
-
2
View file @
5e459e9b
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
scss/_forms.scss
+
3
-
1
View file @
5e459e9b
...
...
@@ -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
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets