aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scss/_alert.scss5
1 files changed, 2 insertions, 3 deletions
diff --git a/scss/_alert.scss b/scss/_alert.scss
index 517762eab..d9b4e9b27 100644
--- a/scss/_alert.scss
+++ b/scss/_alert.scss
@@ -26,13 +26,12 @@
// Expand the right padding and account for the close button's positioning.
.alert-dismissible {
- padding-right: ($alert-padding-x * 2);
-
// Adjust close link position
.close {
position: relative;
- top: -.125rem;
+ top: -$alert-padding-y;
right: -$alert-padding-x;
+ padding: $alert-padding-y $alert-padding-x;
color: inherit;
}
}