From 2b0852c8edc92fd4100cbe6e192f5b51275851e5 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Sun, 28 Jan 2024 03:00:28 +0100 Subject: fix(frontend): fix uploader avatar dimensions --- src/frontend/tubo/components/layout.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/frontend') 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 -- cgit v1.2.3