]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add alert-margin-bottom variable (#21064)
authorCyril Kyburz <kybi1995@gmail.com>
Mon, 28 Nov 2016 07:21:09 +0000 (08:21 +0100)
committerMark Otto <markd.otto@gmail.com>
Mon, 28 Nov 2016 07:21:09 +0000 (23:21 -0800)
scss/_alert.scss
scss/_variables.scss

index 260ce203429e30b4476cab930f11627852e3a7b8..517762eabe3084a72beb1da46fa1fe0b835b3779 100644 (file)
@@ -4,7 +4,7 @@
 
 .alert {
   padding: $alert-padding-y $alert-padding-x;
-  margin-bottom: $spacer-y;
+  margin-bottom: $alert-margin-bottom;
   border: $alert-border-width solid transparent;
   @include border-radius($alert-border-radius);
 }
index d4cb87d198898b54e792e903c684da2b557b5ea2..276da2d79c636079f6c48d4c683830971a88917f 100644 (file)
@@ -783,6 +783,7 @@ $modal-sm:                    300px !default;
 
 $alert-padding-x:             1.25rem !default;
 $alert-padding-y:             .75rem !default;
+$alert-margin-bottom:         $spacer-y !default;
 $alert-border-radius:         $border-radius !default;
 $alert-link-font-weight:      $font-weight-bold !default;
 $alert-border-width:          $border-width !default;