Skip to content

Commit

Permalink
Fix focus box-shadow for validation stated form-controls
Browse files Browse the repository at this point in the history
  • Loading branch information
KODerFunk authored and mdo committed Nov 16, 2023
1 parent 55952bf commit 59ba9d4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scss/mixins/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,12 @@

&:focus {
border-color: $border-color;
box-shadow: $focus-box-shadow;
@if $enable-shadows {
@include box-shadow($input-box-shadow, $focus-box-shadow);
} @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: $focus-box-shadow;
}
}
}
}
Expand Down

0 comments on commit 59ba9d4

Please sign in to comment.