0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Don't set auto margin on offcanvas close

This commit is contained in:
Mark Otto 2021-06-14 14:40:46 -07:00 committed by Mark Otto
parent 5be3550d49
commit 2f734af472

View File

@ -22,7 +22,9 @@
.btn-close {
padding: ($offcanvas-padding-y * .5) ($offcanvas-padding-x * .5);
margin: ($offcanvas-padding-y * -.5) ($offcanvas-padding-x * -.5) ($offcanvas-padding-y * -.5) auto;
margin-top: $offcanvas-padding-y * -.5;
margin-right: $offcanvas-padding-x * -.5;
margin-bottom: $offcanvas-padding-y * -.5;
}
}