From 4123fde91bcb91118c72385cc6318abcd30d7799 Mon Sep 17 00:00:00 2001 From: Siddarth Kumar Date: Wed, 5 Apr 2023 21:11:45 +0530 Subject: [PATCH] fix chat layout breaking when combining normal text with code blocks (#15585) --- src/status_im2/contexts/chat/messages/content/text/view.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im2/contexts/chat/messages/content/text/view.cljs b/src/status_im2/contexts/chat/messages/content/text/view.cljs index ec2e416562..c67b2b47cb 100644 --- a/src/status_im2/contexts/chat/messages/content/text/view.cljs +++ b/src/status_im2/contexts/chat/messages/content/text/view.cljs @@ -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])