Browse Source

feat(frontend): Amend small style nits

Miguel Ángel Moreno 2 years ago
parent
commit
756876def2
2 changed files with 5 additions and 5 deletions
  1. 3 3
      src/frontend/tau/components/comments.cljs
  2. 2 2
      src/frontend/tau/views/stream.cljs

+ 3 - 3
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

+ 2 - 2
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"}}]