]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add variable to configure the `$dropdown-border-radius`. (#24376)
authorJosé Francisco <dudemelo@gmail.com>
Sun, 22 Oct 2017 20:47:31 +0000 (17:47 -0300)
committerMark Otto <markd.otto@gmail.com>
Sun, 22 Oct 2017 20:47:31 +0000 (13:47 -0700)
scss/_dropdown.scss
scss/_variables.scss

index daa867a573e5cc5e4d28959ac75fa08a41676f5e..2717641887e8b3534b9d42a8b3b0cc1646004c29 100644 (file)
@@ -27,7 +27,7 @@
   background-color: $dropdown-bg;
   background-clip: padding-box;
   border: $dropdown-border-width solid $dropdown-border-color;
-  @include border-radius($border-radius);
+  @include border-radius($dropdown-border-radius);
   @include box-shadow($dropdown-box-shadow);
 }
 
index 9ec78d5f41f193155fd008c34898dca132fc979e..9205f9965f120f086e1c9e161d547c877c37b830 100644 (file)
@@ -488,6 +488,7 @@ $dropdown-padding-y:                .5rem !default;
 $dropdown-spacer:                   .125rem !default;
 $dropdown-bg:                       $white !default;
 $dropdown-border-color:             rgba($black,.15) !default;
+$dropdown-border-radius:            $border-radius !default;
 $dropdown-border-width:             $border-width !default;
 $dropdown-divider-bg:               $gray-200 !default;
 $dropdown-box-shadow:               0 .5rem 1rem rgba($black,.175) !default;