Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorMartijn Cuppens <martijn.cuppens@gmail.com>2020-11-09 23:03:57 +0300
committerXhmikosR <xhmikosr@gmail.com>2020-12-06 19:42:40 +0300
commit87e56de066183d06b182e747216878567b46d004 (patch)
tree6b891afc2aa08077f131a140d9100b8a5b9ab1a4 /scss
parentadec91e8fc71ebb12a4a57554c879ff87d70e50d (diff)
Override margins set by popper
Diffstat (limited to 'scss')
-rw-r--r--scss/_popover.scss12
1 files changed, 8 insertions, 4 deletions
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 */"};