]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Change toast border radius to use `$border-radius` (#28621)
authorTed Kesgar <t.kesgar@live.com>
Mon, 8 Apr 2019 12:06:48 +0000 (19:06 +0700)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 8 Apr 2019 12:06:48 +0000 (15:06 +0300)
Currently, `$toast-border-radius` uses the value of `.25rem`. This is inconsistent with other variables such as `$btn-border-radius` and `$input-border-radius`, which uses the "global" `$border-radius` variable.

scss/_variables.scss

index 89b60c0a967ece430fd029a735643fa435a0e7ef..7e6bb888d85b7550a6b2ceeb0aa95e0c832e9b1f 100644 (file)
@@ -898,7 +898,7 @@ $toast-color:                       null !default;
 $toast-background-color:            rgba($white, .85) !default;
 $toast-border-width:                1px !default;
 $toast-border-color:                rgba(0, 0, 0, .1) !default;
-$toast-border-radius:               .25rem !default;
+$toast-border-radius:               $border-radius !default;
 $toast-box-shadow:                  0 .25rem .75rem rgba($black, .1) !default;
 
 $toast-header-color:                $gray-600 !default;