]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix for right padding in dismissible alerts (#24481)
authorEugene Kopyov <e.kopyov@gmail.com>
Sun, 22 Oct 2017 19:54:32 +0000 (21:54 +0200)
committerMark Otto <markd.otto@gmail.com>
Sun, 22 Oct 2017 19:54:32 +0000 (12:54 -0700)
* Fix for right padding in dismissible alerts

* Removed extra whitespace

* Update _alert.scss

* Update _alert.scss

scss/_alert.scss

index 66fba24ead2b33a4844c5884fee8dca10ff727f5..c2d5c8109fd29fb547628cb267b762d81e2060fe 100644 (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;