From 5ed4555ba16e4b4a769b2aa9cb8bd1c56a17c845 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Tue, 3 Dec 2024 22:34:31 +0100 Subject: feat: style channel subscriber count like in other places --- src/frontend/tubo/stream/views.cljs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontend/tubo/stream/views.cljs b/src/frontend/tubo/stream/views.cljs index 6ef690f..754c4e8 100644 --- a/src/frontend/tubo/stream/views.cljs +++ b/src/frontend/tubo/stream/views.cljs @@ -47,15 +47,15 @@ [{:keys [uploader-url uploader-name subscriber-count] :as stream}] [:div.flex.items-center [layout/uploader-avatar stream] - [:div.mx-3 + [:div.mx-3.gap-x-2 [:a.line-clamp-1.font-semibold {:href (rfe/href :channel-page nil {:url uploader-url}) :title uploader-name} uploader-name] (when subscriber-count - [:div.flex.my-2.items-center - [:i.fa-solid.fa-users.text-xs] - [:p.mx-2 (utils/format-quantity subscriber-count)]])]]) + [:div.flex.items-center.text-neutral-600.dark:text-neutral-400.text-sm + [:span + (str (utils/format-quantity subscriber-count) " subscribers")]])]]) (defn metadata-stats [{:keys [like-count dislike-count] :as stream}] -- cgit v1.2.3