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:
commit
378f96d67b
@ -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%);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user