aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/tau/components
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2023-01-03 15:47:18 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2023-01-03 15:47:18 +0100
commit152da2b81b4d814e4332e051ba21625264c07454 (patch)
tree9faf33ee6792197e49dddbdfd230d3bb38b1ee86 /src/frontend/tau/components
parentfe81ccdd9a3d2e3f2654be20f896e9ee6d7c833d (diff)
fix(frontend): Fix global player styles
Diffstat (limited to 'src/frontend/tau/components')
-rw-r--r--src/frontend/tau/components/player.cljs17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/frontend/tau/components/player.cljs b/src/frontend/tau/components/player.cljs
index b7ba099..19f76bf 100644
--- a/src/frontend/tau/components/player.cljs
+++ b/src/frontend/tau/components/player.cljs
@@ -12,10 +12,13 @@
[:div.sticky.bottom-0.z-50.bg-neutral-900.p-5.absolute
{:style {:borderColor service-color :borderTopWidth "2px" :borderStyle "solid"}}
[:div.flex.items-center.justify-between
- [:div.flex.flex-col
- [:a.text-xs
- {:href (rfe/href :tau.router/stream nil {:url url})} name]
- [:a.text-xs.text-gray-300
- {:href (rfe/href :tau.router/channel nil {:url uploader-url})} uploader-name]]
- [:audio {:src stream :controls true}]
- [:i.fa-solid.fa-close.cursor-pointer {:on-click #(rf/dispatch [::events/toggle-global-player])}]]])))
+ [:div.flex.flex-wrap.items-center
+ [:div.flex.flex-col
+ [:a.text-xs
+ {:href (rfe/href :tau.router/stream nil {:url url})} name]
+ [:a.text-xs.text-gray-300
+ {:href (rfe/href :tau.router/channel nil {:url uploader-url})} uploader-name]]
+ [:div.px-2.py-0.md:pt-4
+ [:audio {:src stream :controls true}]]]
+ [:div.px-2
+ [:i.fa-solid.fa-close.cursor-pointer {:on-click #(rf/dispatch [::events/toggle-global-player])}]]]])))