aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyril Kyburz <[email protected]>2016-11-28 08:21:09 +0100
committerMark Otto <[email protected]>2016-11-27 23:21:09 -0800
commitf995a8be1e7fd09e06add19e848b678a33a71e64 (patch)
tree9ba6c120acae6a5a18819fa87bd1673803608828
parentc5c1bfec01441ba0fc37239b0445d4249f81e440 (diff)
downloadbootstrap-f995a8be1e7fd09e06add19e848b678a33a71e64.tar.xz
bootstrap-f995a8be1e7fd09e06add19e848b678a33a71e64.zip
Add alert-margin-bottom variable (#21064)
-rw-r--r--scss/_alert.scss2
-rw-r--r--scss/_variables.scss1
2 files changed, 2 insertions, 1 deletions
diff --git a/scss/_alert.scss b/scss/_alert.scss
index 260ce2034..517762eab 100644
--- a/scss/_alert.scss
+++ b/scss/_alert.scss
@@ -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);
}
diff --git a/scss/_variables.scss b/scss/_variables.scss
index d4cb87d19..276da2d79 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -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;