We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b1270d commit 910f3ecCopy full SHA for 910f3ec
scss/_alert.scss
@@ -26,13 +26,13 @@
26
// Expand the right padding and account for the close button's positioning.
27
28
.alert-dismissible {
29
- padding-right: ($alert-padding + 20px);
+ padding-right: ($alert-padding * 2);
30
31
// Adjust close link position
32
.close {
33
position: relative;
34
- top: -2px;
35
- right: -21px;
+ top: -.125rem;
+ right: -$alert-padding;
36
color: inherit;
37
}
38
scss/_variables.scss
@@ -685,7 +685,7 @@ $modal-sm: 300px !default;
685
//
686
// Define alert colors, border radius, and padding.
687
688
-$alert-padding: 15px !default;
+$alert-padding: 1rem !default;
689
$alert-border-radius: $border-radius !default;
690
$alert-link-font-weight: bold !default;
691
$alert-border-width: $border-width !default;
0 commit comments