Skip to content

Commit

Permalink
Alignment of system messages in group chat #19886 (#19890)
Browse files Browse the repository at this point in the history
  • Loading branch information
flexsurfer authored May 3, 2024
1 parent e6ee271 commit de29c6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@
(conj
acc
[rn/view
{:style {:background-color colors/primary-50-opa-10 :border-radius 6 :padding-horizontal 3}}
{:style {:background-color colors/primary-50-opa-10
:border-radius 6
:padding-horizontal 3
:margin-top -3}}
[rn/text
{:style (merge {:color (if (system-text? content-type) quo.colors/black colors/primary-50)}
(if (system-text? content-type) typography/font-regular typography/font-medium))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@

(defn text-content
[message-data]
[rn/view {:accessibility-label :chat-item}
[rn/view {:accessibility-label :chat-item :padding-horizontal 12 :padding-vertical 3}
[old-message/render-parsed-text message-data]])

0 comments on commit de29c6f

Please sign in to comment.