▾ modified common/frq/screens/chats.cljc +7 -1 Viewed
@@ -216,7 +216,13 @@ 216 216 ;; them. What is focused is a widget, so the highlight would stay in 217 217 ;; the slot the reader clicked while the row that moved into it is 218 218 ;; someone else's conversation. 219 - (for [b buffers] ^{:key (:name b)} [conversation-row b]) 219 + ;; The gap between cards, and it has to be here rather than on the 220 + ;; card: a card is padded inside by the backend and takes no margin of 221 + ;; its own, so cards handed straight to the scroll sit edge to edge and 222 + ;; the list reads as one ruled block instead of a row per conversation. 223 + ;; 8, the same step the bands above use. 224 + [:vbox {:spacing 8} 225 + (for [b buffers] ^{:key (:name b)} [conversation-row b])] 220 226 [:vbox {:margin-right list-gutter} 221 227 [:card {} [:dim-label {:label "No conversations yet — join a channel."}]]])]] 222 228 [:vbox {:key :foot :spacing 8}
@@ -216,7 +216,13 @@ 216 ;; them. What is focused is a widget, so the highlight would stay in 216 ;; them. What is focused is a widget, so the highlight would stay in 217 ;; the slot the reader clicked while the row that moved into it is 217 ;; the slot the reader clicked while the row that moved into it is 218 ;; someone else's conversation. 218 ;; someone else's conversation. 219 - (for [b buffers] ^{:key (:name b)} [conversation-row b]) 219 + ;; The gap between cards, and it has to be here rather than on the 220 + ;; card: a card is padded inside by the backend and takes no margin of 221 + ;; its own, so cards handed straight to the scroll sit edge to edge and 222 + ;; the list reads as one ruled block instead of a row per conversation. 223 + ;; 8, the same step the bands above use. 224 + [:vbox {:spacing 8} 225 + (for [b buffers] ^{:key (:name b)} [conversation-row b])] 220 [:vbox {:margin-right list-gutter} 226 [:vbox {:margin-right list-gutter} 221 [:card {} [:dim-label {:label "No conversations yet — join a channel."}]]])]] 227 [:card {} [:dim-label {:label "No conversations yet — join a channel."}]]])]] 222 [:vbox {:key :foot :spacing 8} 228 [:vbox {:key :foot :spacing 8}