From 2ddf4cf924dbd632c3f173a65a2f2b66f8f1dc64 Mon Sep 17 00:00:00 2001 From: Siddarth Kumar Date: Fri, 8 Apr 2022 21:11:43 +0530 Subject: [PATCH] set image max width to avoid overflow (#13211) squashed and merged --- src/status_im/ui/screens/status/views.cljs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/status_im/ui/screens/status/views.cljs b/src/status_im/ui/screens/status/views.cljs index 8988672cb5..0787c50e5c 100644 --- a/src/status_im/ui/screens/status/views.cljs +++ b/src/status_im/ui/screens/status/views.cljs @@ -33,7 +33,9 @@ (let [width (reagent/atom nil)] (fn [uri show-close?] [react/view {:style {:width @width + :align-items :center :height image-max-dimension + :max-width :100% :overflow :hidden :opacity (if @width 1 0) :border-radius 16