From c0509cea30783da562647c15bcd4d902f08e68c2 Mon Sep 17 00:00:00 2001 From: Miguel Ángel Moreno Date: Sun, 28 Jan 2024 12:27:25 +0100 Subject: feat(frontend): prevent uploader avatar images shrink --- src/frontend/tubo/components/layout.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/frontend') diff --git a/src/frontend/tubo/components/layout.cljs b/src/frontend/tubo/components/layout.cljs index 4fd801d..92c5ac4 100644 --- a/src/frontend/tubo/components/layout.cljs +++ b/src/frontend/tubo/components/layout.cljs @@ -45,7 +45,7 @@ [source name & url] (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 + [:div.relative.w-12.xs:w-16.h-12.xs:h-16.flex-auto.flex.items-center.shrink-0 (if url [:a.flex-auto.flex.min-h-full.min-w-full.max-h-full.max-w-full {:href url :title name} image] image)]))) -- cgit v1.2.3