diff options
Diffstat (limited to 'src/frontend/tubo/components/player.cljs')
-rw-r--r-- | src/frontend/tubo/components/player.cljs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/frontend/tubo/components/player.cljs b/src/frontend/tubo/components/player.cljs index 0103840..57b2928 100644 --- a/src/frontend/tubo/components/player.cljs +++ b/src/frontend/tubo/components/player.cljs @@ -50,14 +50,15 @@ :on-mouse-out #(reset! show-slider? false)} [button (if muted? [:i.fa-solid.fa-volume-xmark] [:i.fa-solid.fa-volume-low]) - #(rf/dispatch [::events/toggle-mute player])] + #(rf/dispatch [::events/toggle-mute player]) + :extra-classes "pl-3 pr-2"] (when @show-slider? [:input.rounded-lg.w-24.cursor-pointer.focus:outline-none.absolute {:class "rotate-[270deg]" :type "range" :on-input #(rf/dispatch [::events/change-volume-level (.. % -target -value) player]) :style {:accentColor service-color - :left "-32.5px" + :left "-29px" :bottom "63px"} :max 100 :value volume-level}])]))) |