diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-01-28 03:00:28 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-01-28 03:00:28 +0100 |
commit | 2b0852c8edc92fd4100cbe6e192f5b51275851e5 (patch) | |
tree | 4804bbe3dce6cf5cca082b55a49dd4372fbdc4ea | |
parent | 1f30b1ba889d739c8881b65d1bb0dc4fd14dd712 (diff) |
fix(frontend): fix uploader avatar dimensions
-rw-r--r-- | src/frontend/tubo/components/layout.cljs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/tubo/components/layout.cljs b/src/frontend/tubo/components/layout.cljs index 0bcfac0..4fd801d 100644 --- a/src/frontend/tubo/components/layout.cljs +++ b/src/frontend/tubo/components/layout.cljs @@ -43,11 +43,11 @@ (defn uploader-avatar [source name & url] - (let [image [:img.rounded-full.object-cover.max-w-full.min-h-full {:src source :alt name}]] + (let [image [:img.flex-auto.rounded-full.object-cover.max-w-full.min-h-full {:src source :alt name}]] (when source [:div.relative.w-16.h-16.flex-auto.flex.items-center (if url - [:a.flex-auto.flex {:href url :title name} image] + [:a.flex-auto.flex.min-h-full.min-w-full.max-h-full.max-w-full {:href url :title name} image] image)]))) (defn primary-button |