From 756876def2e3ff1955b07946d0569912264aa905 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Fri, 30 Dec 2022 21:28:19 +0100 Subject: feat(frontend): Amend small style nits --- src/frontend/tau/components/comments.cljs | 6 +++--- src/frontend/tau/views/stream.cljs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/frontend/tau/components/comments.cljs b/src/frontend/tau/components/comments.cljs index 044f87a..9802647 100644 --- a/src/frontend/tau/components/comments.cljs +++ b/src/frontend/tau/components/comments.cljs @@ -16,10 +16,10 @@ [:div.w-12 [:a {:href (rfe/href :tau.routes/channel nil {:url uploader-url}) :title name} [:img.rounded-full.object-cover.min-w-full.min-h-full {:src uploader-avatar}]]]]) - [:div.ml-2 + [:div.ml-4 [:div.flex.items-center (when pinned? - [:i.fa-solid.fa-thumbtack.mr-2]) + [:i.fa-solid.fa-thumbtack.mr-2.text-xs]) [:a {:href (rfe/href :tau.routes/channel nil {:url uploader-url}) :title name} [:h1.text-gray-300.font-bold uploader-name]] (when uploader-verified? @@ -33,7 +33,7 @@ (timeago/format upload-date))]] (when like-count [:div.flex.items-center.my-2 - [:i.fa-solid.fa-thumbs-up] + [:i.fa-solid.fa-thumbs-up.text-xs] [:p.mx-1 like-count]]) (when hearted-by-uploader? [:div.relative.w-4.h-4.mx-2 diff --git a/src/frontend/tau/views/stream.cljs b/src/frontend/tau/views/stream.cljs index 89530b9..312d670 100644 --- a/src/frontend/tau/views/stream.cljs +++ b/src/frontend/tau/views/stream.cljs @@ -82,10 +82,10 @@ [:div.min-w-full.py-3 [:h1 name] [:div {:dangerouslySetInnerHTML {:__html description}}]] - [:div.py-3 + [:div.py-6 [:div.flex.items-center [:i.fa-solid.fa-comments] - [:p.px-2 "Comments"] + [:p.px-2.py-4 "Comments"] (if show-comments [:i.fa-solid.fa-chevron-up {:on-click #(rf/dispatch [::events/toggle-comments]) :style {:cursor "pointer"}}] -- cgit v1.2.3