diff --git a/scss/_alert.scss b/scss/_alert.scss index 517762eabe..d9b4e9b276 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; } }