fix chat layout breaking when combining normal text with code blocks (#15585)

This commit is contained in:
Siddarth Kumar
2023-04-05 16:49:02 +01:00
committed by Andrea Maria Piana
parent 0168ab6baf
commit 35ff3a4eca
@@ -13,7 +13,7 @@
[units {:keys [type literal destination]} chat-id]
(case (keyword type)
:code
(conj units [rn/view {:style (merge style/block (style/code))} [quo/text {:weight :code} literal]])
(conj units [quo/text {:style (merge style/block (style/code)) :weight :code} literal])
:emph
(conj units [quo/text {:style {:font-style :italic}} literal])