diff options
author | Catalin Zalog <c@zalog.ro> | 2020-04-01 20:44:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-01 20:44:22 +0300 |
commit | 1cc1a476468d8106ef2954f959dc7b747159a353 (patch) | |
tree | 6e11be6740b672bfc04f1c975d96a28354f25584 /scss/forms | |
parent | dfa017adc382c63766cd5d021bdc8f6ad1b04932 (diff) |
Use `box-shadow` mixin for form controls (#30480)
Diffstat (limited to 'scss/forms')
-rw-r--r-- | scss/forms/_form-control.scss | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/forms/_form-control.scss b/scss/forms/_form-control.scss index 42456e3aa6..6686ecfb80 100644 --- a/scss/forms/_form-control.scss +++ b/scss/forms/_form-control.scss @@ -29,10 +29,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; } } |