mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +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:
parent
4bd4ff1130
commit
0a82cd9f3c
@ -27,6 +27,8 @@
|
|||||||
// Expand the right padding and account for the close button's positioning.
|
// Expand the right padding and account for the close button's positioning.
|
||||||
|
|
||||||
.alert-dismissible {
|
.alert-dismissible {
|
||||||
|
padding-right: ($close-font-size + $alert-padding-x * 2);
|
||||||
|
|
||||||
// Adjust close link position
|
// Adjust close link position
|
||||||
.close {
|
.close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
Loading…
Reference in New Issue
Block a user