Skip to content

Commit

Permalink
Fix focus box-shadows of form-select
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Karpunin committed Dec 2, 2023
1 parent cdf28b8 commit 96d54de
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 @@ -105,7 +105,12 @@

&:focus {
border-color: $border-color;
box-shadow: $focus-box-shadow;
@if $enable-shadows {
@include box-shadow($form-select-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 96d54de

Please sign in to comment.