0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #20964 from vanduynslagerp/fix-form-control-shadows

Set box-shadow on input if enable-shadows rather than enable-rounded
This commit is contained in:
Mark Otto 2016-10-24 20:47:21 -07:00 committed by GitHub
commit 378f96d67b

View File

@ -17,10 +17,8 @@
.form-control { .form-control {
border-color: $color; border-color: $color;
@if $enable-rounded { &:focus {
&:focus { @include box-shadow($input-box-shadow, 0 0 6px lighten($color, 20%));
box-shadow: $input-box-shadow, 0 0 6px lighten($color, 20%);
}
} }
} }