From 2f734af472bfb275627f10a002dfc348cf3db93d Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 14 Jun 2021 14:40:46 -0700 Subject: [PATCH] Don't set auto margin on offcanvas close --- scss/_offcanvas.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scss/_offcanvas.scss b/scss/_offcanvas.scss index 1dbe6cdc4b..91db686434 100644 --- a/scss/_offcanvas.scss +++ b/scss/_offcanvas.scss @@ -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; } }