Skip to content

Commit

Permalink
Backport #30480
Browse files Browse the repository at this point in the history
Use `box-shadow` mixin for form controls
  • Loading branch information
MartijnCuppens authored and XhmikosR committed Apr 7, 2020
1 parent a28e478 commit 695c5b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scss/mixins/_forms.scss
Expand Up @@ -16,10 +16,10 @@
background-color: $input-focus-bg;
border-color: $input-focus-border-color;
outline: 0;
// Avoid using mixin so we can pass custom focus shadow properly
@if $enable-shadows {
box-shadow: $input-box-shadow, $input-focus-box-shadow;
@include box-shadow($input-box-shadow, $input-focus-box-shadow);
} @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: $input-focus-box-shadow;
}
}
Expand Down

0 comments on commit 695c5b2

Please sign in to comment.