From c3c747d996335c2348b4c46dbd01572ac8b9c6b1 Mon Sep 17 00:00:00 2001 From: StroepWafel <109832156+StroepWafel@users.noreply.github.com> Date: Fri, 12 Sep 2025 15:50:24 +0930 Subject: [PATCH] fix: Drop down menu styling Fix for drop down menu styling so it doesn't look abhorrent --- src/css/injected.scss | 15 +++++++++++++ src/interface/components/Select.svelte | 30 ++++++++++++++++++++++++-- 2 files changed, 43 insertions(+), 2 deletions(-) diff --git a/src/css/injected.scss b/src/css/injected.scss index 7b86bca6..676afd89 100644 --- a/src/css/injected.scss +++ b/src/css/injected.scss @@ -38,6 +38,21 @@ body, html { font-family: Rubik, sans-serif !important; } + +/* Ensure native select dropdowns are readable on Windows */ +select option { + background-color: #ffffff !important; + color: #111827 !important; +} +.dark select option { + background-color: #1f2937 !important; + color: #ffffff !important; +} + +/* Consistent rounded corners for selects */ +select { + border-radius: 8px !important; +} #container { transition: 200ms; background: var(--auto-background) !important; diff --git a/src/interface/components/Select.svelte b/src/interface/components/Select.svelte index fc292d90..eb6b23c8 100644 --- a/src/interface/components/Select.svelte +++ b/src/interface/components/Select.svelte @@ -8,12 +8,12 @@ let select: HTMLSelectElement; -