Fix message delivery status alignment on desktop

This commit is contained in:
Vitaliy Vlasov 2018-08-28 15:54:49 +03:00
parent 400e8b6d99
commit 3e43d85215
No known key found for this signature in database
GPG Key ID: A7D57C347F2B2964
1 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
(:require [status-im.ui.components.styles :as styles]
[status-im.chat.styles.photos :as photos]
[status-im.ui.components.colors :as colors]
[status-im.utils.platform :as platform]
[status-im.constants :as constants]))
(defstyle style-message-text
@ -95,9 +96,9 @@
(defn delivery-status [outgoing]
(if outgoing
{:align-self :flex-end
:padding-right 8}
:padding-right (if platform/desktop? 24 8)}
{:align-self :flex-start
:padding-left 8}))
:padding-left (if platform/desktop? 24 8)}))
(def message-author
{:width photos/default-size