Dark mode popover arrow fixes

This commit is contained in:
Michael Shamoon 2021-02-06 14:25:53 -08:00
parent 41540a3a5f
commit 4a471138b2

View File

@ -373,11 +373,17 @@ $border-color-dark-mode: #47494f;
background-color: $bg-light-dark-mode;
border-color: $border-color-dark-mode;
}
}
.arrow::after {
border-top-color: $bg-light-dark-mode;
$placements: 'top', 'right', 'bottom', 'left';
@each $placement in $placements {
.bs-popover-#{$placement} > .arrow::after,
.bs-popover-auto[x-placement^=#{$placement}] > .arrow::after {
border-#{$placement}-color: $bg-light-dark-mode;
}
}
}
body.color-scheme-dark {