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

This commit is contained in:
Siddarth Kumar 2023-04-05 21:11:45 +05:30 committed by GitHub
parent e55a9326d6
commit 4123fde91b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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])