]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Backport #30555
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Sat, 11 Apr 2020 11:46:31 +0000 (13:46 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 13 Apr 2020 18:12:29 +0000 (21:12 +0300)
Use `box-shadow` mixin for `.form-select`

scss/_custom-forms.scss

index 21e72da7dda5eebde29760cb1cbd72c399def11e..0804c63cf95cc3d5ec3366d6672550c18712dcf0 100644 (file)
     border-color: $custom-select-focus-border-color;
     outline: 0;
     @if $enable-shadows {
-      box-shadow: $custom-select-box-shadow, $custom-select-focus-box-shadow;
+      @include box-shadow($custom-select-box-shadow, $custom-select-focus-box-shadow);
     } @else {
+      // Avoid using mixin so we can pass custom focus shadow properly
       box-shadow: $custom-select-focus-box-shadow;
     }