Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2016-10-19 05:18:06 +0300
committerMark Otto <markdotto@gmail.com>2016-10-19 05:18:06 +0300
commit6321f9342e64d43390d44c8fee08d7354985750e (patch)
treede9edb89a2f1fc986139d9239fc8de23fe99656a /scss/_alert.scss
parent6d6538fc81ebdb9e29ca5a5a4e8e5768b9358fe9 (diff)
Switch to separate vars for alert vertical/horizontal padding
Diffstat (limited to 'scss/_alert.scss')
-rw-r--r--scss/_alert.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/_alert.scss b/scss/_alert.scss
index 4331771018..260ce20342 100644
--- a/scss/_alert.scss
+++ b/scss/_alert.scss
@@ -3,7 +3,7 @@
//
.alert {
- padding: $alert-padding;
+ padding: $alert-padding-y $alert-padding-x;
margin-bottom: $spacer-y;
border: $alert-border-width solid transparent;
@include border-radius($alert-border-radius);
@@ -26,13 +26,13 @@
// Expand the right padding and account for the close button's positioning.
.alert-dismissible {
- padding-right: ($alert-padding * 2);
+ padding-right: ($alert-padding-x * 2);
// Adjust close link position
.close {
position: relative;
top: -.125rem;
- right: -$alert-padding;
+ right: -$alert-padding-x;
color: inherit;
}
}