1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-28 15:50:01 +02: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

View File

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