// Expand the right padding and account for the close button's positioning.
.alert-dismissible {
- padding-right: ($alert-padding + 20px);
+ padding-right: ($alert-padding * 2);
// Adjust close link position
.close {
position: relative;
- top: -2px;
- right: -21px;
+ top: -.125rem;
+ right: -$alert-padding;
color: inherit;
}
}
//
// Define alert colors, border radius, and padding.
-$alert-padding: 15px !default;
+$alert-padding: 1rem !default;
$alert-border-radius: $border-radius !default;
$alert-link-font-weight: bold !default;
$alert-border-width: $border-width !default;