0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Fix for right padding in dismissible alerts (#24481)

* Fix for right padding in dismissible alerts

* Removed extra whitespace

* Update _alert.scss

* Update _alert.scss
This commit is contained in:
Eugene Kopyov 2017-10-22 21:54:32 +02:00 committed by Mark Otto
parent 4bd4ff1130
commit 0a82cd9f3c

View File

@ -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;