Skip to content

Commit

Permalink
set image max width to avoid overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
siddarthkay committed Apr 8, 2022
1 parent c40094f commit c4d2fba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/status_im/ui/screens/status/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c4d2fba

Please sign in to comment.