aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Zalog <[email protected]>2020-04-01 20:44:22 +0300
committerGitHub <[email protected]>2020-04-01 19:44:22 +0200
commit1cc1a476468d8106ef2954f959dc7b747159a353 (patch)
tree6e11be6740b672bfc04f1c975d96a28354f25584
parentdfa017adc382c63766cd5d021bdc8f6ad1b04932 (diff)
downloadbootstrap-1cc1a476468d8106ef2954f959dc7b747159a353.tar.xz
bootstrap-1cc1a476468d8106ef2954f959dc7b747159a353.zip
Use `box-shadow` mixin for form controls (#30480)
-rw-r--r--scss/forms/_form-control.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/forms/_form-control.scss b/scss/forms/_form-control.scss
index 42456e3aa..6686ecfb8 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;
}
}