Skip to content

Commit

Permalink
Fix for right padding in dismissible alerts (#24481)
Browse files Browse the repository at this point in the history
* Fix for right padding in dismissible alerts

* Removed extra whitespace

* Update _alert.scss

* Update _alert.scss
  • Loading branch information
Kopyov authored and mdo committed Oct 22, 2017
1 parent 4bd4ff1 commit 0a82cd9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scss/_alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
// Expand the right padding and account for the close button's positioning.

.alert-dismissible {
padding-right: ($close-font-size + $alert-padding-x * 2);

// Adjust close link position
.close {
position: absolute;
Expand Down

0 comments on commit 0a82cd9

Please sign in to comment.