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

Use box-shadow mixin for .form-select (#30555)

This commit is contained in:
Catalin Zalog 2020-04-11 14:27:01 +03:00 committed by GitHub
parent bcdd8fbc07
commit 939beea620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,8 +28,9 @@
border-color: $form-select-focus-border-color; border-color: $form-select-focus-border-color;
outline: 0; outline: 0;
@if $enable-shadows { @if $enable-shadows {
box-shadow: $form-select-box-shadow, $form-select-focus-box-shadow; @include box-shadow($form-select-box-shadow, $form-select-focus-box-shadow);
} @else { } @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: $form-select-focus-box-shadow; box-shadow: $form-select-focus-box-shadow;
} }