Alignment of system messages in group chat #19886 (#19890)

This commit is contained in:
flexsurfer 2024-05-03 13:44:19 +02:00 committed by GitHub
parent e6ee2714d7
commit de29c6f7d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

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

View File

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