1
0
Prechádzať zdrojové kódy

fix(frontend): fix uploader avatar dimensions

Miguel Ángel Moreno 1 rok pred
rodič
commit
2b0852c8ed
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/frontend/tubo/components/layout.cljs

+ 2 - 2
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