From: Martijn Cuppens Date: Mon, 9 Nov 2020 20:03:57 +0000 (+0100) Subject: Override margins set by popper X-Git-Tag: v5.0.0-beta1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87e56de066183d06b182e747216878567b46d004;p=thirdparty%2Fbootstrap.git Override margins set by popper --- diff --git a/scss/_popover.scss b/scss/_popover.scss index 36478b3370..af8e3c80bb 100644 --- a/scss/_popover.scss +++ b/scss/_popover.scss @@ -36,7 +36,8 @@ } .bs-popover-top { - margin-bottom: $popover-arrow-height; + // Overrule margin set by popper.js + margin-bottom: $popover-arrow-height !important; // stylelint-disable-line declaration-no-important > .popover-arrow { bottom: subtract(-$popover-arrow-height, $popover-border-width); @@ -56,7 +57,8 @@ } .bs-popover-end { - margin-left: $popover-arrow-height #{"/* rtl:ignore */"}; + // Overrule margin set by popper.js + margin-left: $popover-arrow-height !important #{"/* rtl:ignore */"}; // stylelint-disable-line declaration-no-important > .popover-arrow { left: subtract(-$popover-arrow-height, $popover-border-width) #{"/* rtl:ignore */"}; @@ -79,7 +81,8 @@ } .bs-popover-bottom { - margin-top: $popover-arrow-height; + // Overrule margin set by popper.js + margin-top: $popover-arrow-height !important; // stylelint-disable-line declaration-no-important > .popover-arrow { top: subtract(-$popover-arrow-height, $popover-border-width); @@ -111,7 +114,8 @@ } .bs-popover-start { - margin-right: $popover-arrow-height #{"/* rtl:ignore */"}; + // Overrule margin set by popper.js + margin-right: $popover-arrow-height !important #{"/* rtl:ignore */"}; // stylelint-disable-line declaration-no-important > .popover-arrow { right: subtract(-$popover-arrow-height, $popover-border-width) #{"/* rtl:ignore */"};