aboutsummaryrefslogtreecommitdiff
path: root/src/frontend
diff options
context:
space:
mode:
authorMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-30 21:28:19 +0100
committerMiguel Ángel Moreno <mail@migalmoreno.com>2022-12-30 21:29:58 +0100
commit756876def2e3ff1955b07946d0569912264aa905 (patch)
tree7363a15a1b35dad1501ae83834c1616bc822c4f3 /src/frontend
parentb0a746e04ae211f62060cce6a7ec18a127fc97ef (diff)
feat(frontend): Amend small style nits
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/tau/components/comments.cljs6
-rw-r--r--src/frontend/tau/views/stream.cljs4
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"}}]