fniished image impl

master
bom 2 years ago
parent 2b1b032039
commit eb9c1d11ab

@ -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]

Loading…
Cancel
Save