0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-17 09:52:29 +01:00

Set box-shadow on input if enable-shadows rather than enable-rounded

This commit is contained in:
Pierre-Denis Vanduynslager 2016-10-20 14:29:20 -04:00
parent 9ee304b973
commit 7a21517a48

View File

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