From f995a8be1e7fd09e06add19e848b678a33a71e64 Mon Sep 17 00:00:00 2001 From: Cyril Kyburz Date: Mon, 28 Nov 2016 08:21:09 +0100 Subject: [PATCH] Add alert-margin-bottom variable (#21064) --- scss/_alert.scss | 2 +- scss/_variables.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scss/_alert.scss b/scss/_alert.scss index 260ce20342..517762eabe 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 d4cb87d198..276da2d79c 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;