Skip to content

Commit a5d6127

Browse files
authored
Fix focus box-shadow for validation stated form-controls
1 parent 3629375 commit a5d6127

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scss/mixins/_forms.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,12 @@
6969

7070
&:focus {
7171
border-color: $border-color;
72-
box-shadow: $focus-box-shadow;
72+
@if $enable-shadows {
73+
@include box-shadow($input-box-shadow, $focus-box-shadow);
74+
} @else {
75+
// Avoid using mixin so we can pass custom focus shadow properly
76+
box-shadow: $focus-box-shadow;
77+
}
7378
}
7479
}
7580
}

0 commit comments

Comments
 (0)