Skip to content

Commit bc40e5c

Browse files
committed
Correctly handle titles spanning more than 1 line
1 parent 3060be0 commit bc40e5c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/quo2/components/notifications/activity_logs.cljs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
(defn- activity-unread-dot
2323
[]
24-
[rn/view {:margin-left :auto
24+
[rn/view {:margin-left 14
2525
:margin-right 6
2626
:background-color colors/primary-50
2727
:width 8
@@ -134,13 +134,13 @@
134134
:padding-left 8
135135
:flex 1}
136136
[rn/view {:flex 1
137-
:flex-wrap :wrap
138137
:align-items :center
139138
:flex-direction :row}
140139
[rn/view {:flex 1
141-
:flex-direction :row
142-
:align-items :center}
143-
[activity-title title]
140+
:align-items :center
141+
:flex-direction :row}
142+
[rn/view {:flex-shrink 1}
143+
[activity-title title]]
144144
[activity-timestamp timestamp]]
145145
(when unread?
146146
[activity-unread-dot])]

0 commit comments

Comments
 (0)