aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-10-15 23:51:23 +0200
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-10-15 23:51:23 +0200
commit41c603825c1e03660c0cfd3330fbe1dc6d1fc64b (patch)
tree2ab9106305fccfe30773020d5da32dae292cdc51
parentfc1e06a1a913006f4b7ee4d3de782ecea2f23042 (diff)
fix(frontend): fix stream format selection background in light mode
-rw-r--r--src/frontend/tubo/views/stream.cljs4
1 files changed, 2 insertions, 2 deletions
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"}}