[fix] icon and text alignment for group and public chat on home
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
7366f8973b
commit
0563abff54
|
@ -75,13 +75,13 @@
|
||||||
:height 26}})
|
:height 26}})
|
||||||
|
|
||||||
(defstyle private-group-icon-container
|
(defstyle private-group-icon-container
|
||||||
{:width 20
|
{:align-items :center
|
||||||
:height 12
|
:justify-content :center
|
||||||
:margin-right 6})
|
:margin-right 6})
|
||||||
|
|
||||||
(defstyle public-group-icon-container
|
(defstyle public-group-icon-container
|
||||||
{:width 20
|
{:align-items :center
|
||||||
:height 12
|
:justify-content :center
|
||||||
:margin-right 6})
|
:margin-right 6})
|
||||||
|
|
||||||
(def last-message-container
|
(def last-message-container
|
||||||
|
|
|
@ -84,7 +84,9 @@
|
||||||
(when private-group?
|
(when private-group?
|
||||||
[react/view styles/private-group-icon-container
|
[react/view styles/private-group-icon-container
|
||||||
[vector-icons/icon :tiny-icons/tiny-group {:color colors/gray}]])
|
[vector-icons/icon :tiny-icons/tiny-group {:color colors/gray}]])
|
||||||
[react/view {:flex-shrink 1}
|
[react/view {:flex-shrink 1
|
||||||
|
:align-items :center
|
||||||
|
:justify-content :center}
|
||||||
[react/text {:style styles/name-text
|
[react/text {:style styles/name-text
|
||||||
:number-of-lines 1
|
:number-of-lines 1
|
||||||
:accessibility-label :chat-name-text}
|
:accessibility-label :chat-name-text}
|
||||||
|
|
Loading…
Reference in New Issue