diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-12-03 22:34:31 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-12-03 22:34:31 +0100 |
commit | 5ed4555ba16e4b4a769b2aa9cb8bd1c56a17c845 (patch) | |
tree | 3fda39a25a09933cc9cad7bcc0d21b27986a9365 /src/frontend | |
parent | 7d6abc4b58bc07137592647da0437118fbebd6d6 (diff) |
feat: style channel subscriber count like in other places
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/tubo/stream/views.cljs | 8 |
1 files 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}] |