mirror of https://github.com/twbs/bootstrap.git
Override margins set by popper
This commit is contained in:
parent
adec91e8fc
commit
87e56de066
|
@ -36,7 +36,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-top {
|
.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 {
|
> .popover-arrow {
|
||||||
bottom: subtract(-$popover-arrow-height, $popover-border-width);
|
bottom: subtract(-$popover-arrow-height, $popover-border-width);
|
||||||
|
@ -56,7 +57,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-end {
|
.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 {
|
> .popover-arrow {
|
||||||
left: subtract(-$popover-arrow-height, $popover-border-width) #{"/* rtl:ignore */"};
|
left: subtract(-$popover-arrow-height, $popover-border-width) #{"/* rtl:ignore */"};
|
||||||
|
@ -79,7 +81,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-bottom {
|
.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 {
|
> .popover-arrow {
|
||||||
top: subtract(-$popover-arrow-height, $popover-border-width);
|
top: subtract(-$popover-arrow-height, $popover-border-width);
|
||||||
|
@ -111,7 +114,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-popover-start {
|
.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 {
|
> .popover-arrow {
|
||||||
right: subtract(-$popover-arrow-height, $popover-border-width) #{"/* rtl:ignore */"};
|
right: subtract(-$popover-arrow-height, $popover-border-width) #{"/* rtl:ignore */"};
|
||||||
|
|
Loading…
Reference in New Issue