From 4a471138b2d447652701cbb77617c7b7be8eff6b Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+nikonratm@users.noreply.github.com> Date: Sat, 6 Feb 2021 14:25:53 -0800 Subject: [PATCH] Dark mode popover arrow fixes --- src-ui/src/theme_dark.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src-ui/src/theme_dark.scss b/src-ui/src/theme_dark.scss index 8526284a8..ee59ff9af 100644 --- a/src-ui/src/theme_dark.scss +++ b/src-ui/src/theme_dark.scss @@ -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 {