From 41c603825c1e03660c0cfd3330fbe1dc6d1fc64b Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Sun, 15 Oct 2023 23:51:23 +0200 Subject: fix(frontend): fix stream format selection background in light mode --- src/frontend/tubo/views/stream.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend') diff --git a/src/frontend/tubo/views/stream.cljs b/src/frontend/tubo/views/stream.cljs index 67dc246..8e81537 100644 --- a/src/frontend/tubo/views/stream.cljs +++ b/src/frontend/tubo/views/stream.cljs @@ -41,13 +41,13 @@ [:div.flex.flex.w-full.mt-3 (when stream-format [:div.relative.flex.dark:bg-stone-800.flex-col.items-center.justify-center.z-10.mr-2.border.rounded.border-black - [:select.border-none.focus:ring-transparent.bg-blend-color-dodge.pl-4.pr-8.w-full + [:select.border-none.focus:ring-transparent.dark:bg-blend-color-dodge.pl-4.pr-8.w-full {:on-change #(rf/dispatch [::events/change-stream-format (.. % -target -value)]) :value id :style {:background "transparent"}} (when available-streams (for [[i {:keys [id format resolution averageBitrate]}] (map-indexed vector available-streams)] - [:option.bg-neutral-900.border-none {:value id :key i} + [:option.dark:bg-neutral-900.border-none {:value id :key i} (str (or resolution "audio-only") " " format (when-not resolution (str " " averageBitrate "kbit/s")))]))] [:div.flex.absolute.min-h-full.top-0.right-4.items-center.justify-end {:style {:zIndex "-1"}} -- cgit v1.2.3