fix chat layout breaking when combining normal text with code blocks (#15585)
This commit is contained in:
parent
e55a9326d6
commit
4123fde91b
|
@ -13,7 +13,7 @@
|
||||||
[units {:keys [type literal destination]} chat-id]
|
[units {:keys [type literal destination]} chat-id]
|
||||||
(case (keyword type)
|
(case (keyword type)
|
||||||
:code
|
: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
|
:emph
|
||||||
(conj units [quo/text {:style {:font-style :italic}} literal])
|
(conj units [quo/text {:style {:font-style :italic}} literal])
|
||||||
|
|
Loading…
Reference in New Issue