diff options
author | Mark Otto <markdotto@gmail.com> | 2020-09-02 01:16:50 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2020-09-23 02:49:02 +0300 |
commit | 99777662c678341b0220630c05a9526faab36c95 (patch) | |
tree | 3788fd92044ed929fcf2e5f4a74e6a9c961fe5de /scss/_alert.scss | |
parent | fe77208a01b9b41ce13a9c68139d9f1618c48ec9 (diff) |
Rename .close to .btn-close, replace times sign with background SVG, update focus state
Diffstat (limited to 'scss/_alert.scss')
-rw-r--r-- | scss/_alert.scss | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scss/_alert.scss b/scss/_alert.scss index 19157b2981..078aaaa68b 100644 --- a/scss/_alert.scss +++ b/scss/_alert.scss @@ -27,15 +27,14 @@ // Expand the right padding and account for the close button's positioning. .alert-dismissible { - padding-right: $close-font-size + $alert-padding-x * 2; + padding-right: $alert-padding-x * 3.5; // Adjust close link position - .close { + .btn-close { position: absolute; top: 0; right: 0; - padding: $alert-padding-y $alert-padding-x; - color: inherit; + padding: $alert-padding-y * 1.25 $alert-padding-x; } } |