fixed dark border around the community logo on community page
This PR removes the dark border around the community logo on communities page reproducible only when the user has not yet joined the community
This commit is contained in:
parent
e3ab270933
commit
6aa981d4a7
|
@ -58,15 +58,16 @@
|
||||||
(def picture-border-width 4)
|
(def picture-border-width 4)
|
||||||
|
|
||||||
(defn display-picture-container
|
(defn display-picture-container
|
||||||
[animation]
|
[animation theme]
|
||||||
(reanimated/apply-animations-to-style
|
(reanimated/apply-animations-to-style
|
||||||
{:transform [{:scale animation}]}
|
{:transform [{:scale animation}]}
|
||||||
{:border-radius picture-diameter
|
{:border-radius picture-diameter
|
||||||
:border-width picture-border-width
|
:border-width picture-border-width
|
||||||
:border-color (colors/theme-colors colors/white colors/neutral-95)
|
:border-color (colors/theme-colors colors/white colors/neutral-95 theme)
|
||||||
:position :absolute
|
:background-color (colors/theme-colors colors/white colors/neutral-95 theme)
|
||||||
:top (- (+ picture-radius picture-border-width))
|
:position :absolute
|
||||||
:left (+ (/ picture-radius 2) picture-border-width)}))
|
:top (- (+ picture-radius picture-border-width))
|
||||||
|
:left (+ (/ picture-radius 2) picture-border-width)}))
|
||||||
|
|
||||||
(defn display-picture
|
(defn display-picture
|
||||||
[theme]
|
[theme]
|
||||||
|
|
|
@ -89,7 +89,7 @@
|
||||||
js/undefined)
|
js/undefined)
|
||||||
[scroll-height])
|
[scroll-height])
|
||||||
[reanimated/view
|
[reanimated/view
|
||||||
{:style (style/display-picture-container animation)}
|
{:style (style/display-picture-container animation theme)}
|
||||||
[rn/image
|
[rn/image
|
||||||
{:source cover
|
{:source cover
|
||||||
:style (style/display-picture theme)}]]))
|
:style (style/display-picture theme)}]]))
|
||||||
|
|
Loading…
Reference in New Issue