diff options
author | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-01-28 12:27:25 +0100 |
---|---|---|
committer | Miguel Ángel Moreno <mail@migalmoreno.com> | 2024-01-28 12:27:25 +0100 |
commit | c0509cea30783da562647c15bcd4d902f08e68c2 (patch) | |
tree | c78838b6dd3de1bdcb62a5f6ec9bf1ce50e94850 /src/frontend | |
parent | 3fa824e61896f435f5e999d26f339a14075d4198 (diff) |
feat(frontend): prevent uploader avatar images shrink
Diffstat (limited to 'src/frontend')
-rw-r--r-- | src/frontend/tubo/components/layout.cljs | 2 |
1 files changed, 1 insertions, 1 deletions
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)]))) |