mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 11:34:45 +00:00
Correctly handle titles spanning more than 1 line
This commit is contained in:
parent
3060be023e
commit
bc40e5cb4b
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
(defn- activity-unread-dot
|
(defn- activity-unread-dot
|
||||||
[]
|
[]
|
||||||
[rn/view {:margin-left :auto
|
[rn/view {:margin-left 14
|
||||||
:margin-right 6
|
:margin-right 6
|
||||||
:background-color colors/primary-50
|
:background-color colors/primary-50
|
||||||
:width 8
|
:width 8
|
||||||
@ -134,13 +134,13 @@
|
|||||||
:padding-left 8
|
:padding-left 8
|
||||||
:flex 1}
|
:flex 1}
|
||||||
[rn/view {:flex 1
|
[rn/view {:flex 1
|
||||||
:flex-wrap :wrap
|
|
||||||
:align-items :center
|
:align-items :center
|
||||||
:flex-direction :row}
|
:flex-direction :row}
|
||||||
[rn/view {:flex 1
|
[rn/view {:flex 1
|
||||||
:flex-direction :row
|
:align-items :center
|
||||||
:align-items :center}
|
:flex-direction :row}
|
||||||
[activity-title title]
|
[rn/view {:flex-shrink 1}
|
||||||
|
[activity-title title]]
|
||||||
[activity-timestamp timestamp]]
|
[activity-timestamp timestamp]]
|
||||||
(when unread?
|
(when unread?
|
||||||
[activity-unread-dot])]
|
[activity-unread-dot])]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user