diff --git a/src/status_im/ui/screens/chat/message/styles.cljs b/src/status_im/ui/screens/chat/message/styles.cljs index 9c644a9312..1b27d226e6 100644 --- a/src/status_im/ui/screens/chat/message/styles.cljs +++ b/src/status_im/ui/screens/chat/message/styles.cljs @@ -130,7 +130,8 @@ :height (* aspect-ratio max-width)}))) (defn link-preview-image [outgoing {:keys [height width] :as dimensions}] - (merge (if (and height width) + (merge (if (and (pos? height) + (pos? width)) (scale-dimensions dimensions) {:height 170}) {:overflow :hidden