Skip to content

Commit 4123fde

Browse files
authored
fix chat layout breaking when combining normal text with code blocks (#15585)
1 parent e55a932 commit 4123fde

File tree

1 file changed

+1
-1
lines changed
  • src/status_im2/contexts/chat/messages/content/text

1 file changed

+1
-1
lines changed

src/status_im2/contexts/chat/messages/content/text/view.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
[units {:keys [type literal destination]} chat-id]
1414
(case (keyword type)
1515
:code
16-
(conj units [rn/view {:style (merge style/block (style/code))} [quo/text {:weight :code} literal]])
16+
(conj units [quo/text {:style (merge style/block (style/code)) :weight :code} literal])
1717

1818
:emph
1919
(conj units [quo/text {:style {:font-style :italic}} literal])

0 commit comments

Comments
 (0)