From cc87719090a8450ddb6eb8a9bf8d22dbdfc3c67a Mon Sep 17 00:00:00 2001 From: Pavel Savchenko Date: Sat, 8 Oct 2022 19:17:16 +0100 Subject: [PATCH] fix: use OS theme (dark / light) background uses Django provided CSS variable "--body-bg" --- advanced_filters/static/advanced-filters/advanced-filters.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced_filters/static/advanced-filters/advanced-filters.css b/advanced_filters/static/advanced-filters/advanced-filters.css index 121a69e..da9da17 100644 --- a/advanced_filters/static/advanced-filters/advanced-filters.css +++ b/advanced_filters/static/advanced-filters/advanced-filters.css @@ -58,7 +58,7 @@ .white-popup { position: relative; - background: #FFF; + background: var(--body-bg, #FFF); padding: 20px; width: auto; max-width: 800px; @@ -70,4 +70,4 @@ .select2-container { min-width: 166px; -} \ No newline at end of file +}