fniished image impl

This commit is contained in:
bom 2022-03-11 14:34:32 +01:00
parent 2b1b032039
commit eb9c1d11ab

View file

@ -45,7 +45,7 @@
(let [{:keys [id type preview_url url]} (first media)] (let [{:keys [id type preview_url url]} (first media)]
[:div {:class "media"} [:div {:class "media"}
(when (and (some? type) (= type "image")) (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}])]))) :src preview_url}])])))
(defn masto->html [statuses] (defn masto->html [statuses]