parent
6314038634
commit
2ddf4cf924
|
@ -33,7 +33,9 @@
|
||||||
(let [width (reagent/atom nil)]
|
(let [width (reagent/atom nil)]
|
||||||
(fn [uri show-close?]
|
(fn [uri show-close?]
|
||||||
[react/view {:style {:width @width
|
[react/view {:style {:width @width
|
||||||
|
:align-items :center
|
||||||
:height image-max-dimension
|
:height image-max-dimension
|
||||||
|
:max-width :100%
|
||||||
:overflow :hidden
|
:overflow :hidden
|
||||||
:opacity (if @width 1 0)
|
:opacity (if @width 1 0)
|
||||||
:border-radius 16
|
:border-radius 16
|
||||||
|
|
Loading…
Reference in New Issue