From eb9c1d11ab883fa63b2f79945661e3640152220c Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 11 Mar 2022 14:34:32 +0100 Subject: [PATCH] fniished image impl --- src/main/dda/masto_embed/reply_mode.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/dda/masto_embed/reply_mode.cljs b/src/main/dda/masto_embed/reply_mode.cljs index d5e9419..dfd223c 100644 --- a/src/main/dda/masto_embed/reply_mode.cljs +++ b/src/main/dda/masto_embed/reply_mode.cljs @@ -45,7 +45,7 @@ (let [{:keys [id type preview_url url]} (first media)] [:div {:class "media"} (when (and (some? type) (= type "image")) - [:img {:class "card-img-top float-right" :width "100" :height "100" + [:img {:class "img-thumbnail" :width "100" :height "100" :src preview_url}])]))) (defn masto->html [statuses]