[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}})
|
||||
|
||||
(defstyle private-group-icon-container
|
||||
{:width 20
|
||||
:height 12
|
||||
{:align-items :center
|
||||
:justify-content :center
|
||||
:margin-right 6})
|
||||
|
||||
(defstyle public-group-icon-container
|
||||
{:width 20
|
||||
:height 12
|
||||
{:align-items :center
|
||||
:justify-content :center
|
||||
:margin-right 6})
|
||||
|
||||
(def last-message-container
|
||||
|
|
|
@ -84,7 +84,9 @@
|
|||
(when private-group?
|
||||
[react/view styles/private-group-icon-container
|
||||
[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
|
||||
:number-of-lines 1
|
||||
:accessibility-label :chat-name-text}
|
||||
|
|
Loading…
Reference in New Issue