From c40094f2f9b63434f8d3ec0b95165f9f1cd8a589 Mon Sep 17 00:00:00 2001 From: siddarthkay Date: Mon, 21 Mar 2022 12:47:22 +0530 Subject: [PATCH] squash and sign lint fix remove unused import and debug backgrounds set width boundaries for long usernames in activity fix lint and pass width from view updated spacing to accommodate iphoneX Signed-off-by: andrey --- src/status_im/ui/screens/notifications_center/styles.cljs | 7 ++++--- .../screens/notifications_center/views/notification.cljs | 5 +++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/status_im/ui/screens/notifications_center/styles.cljs b/src/status_im/ui/screens/notifications_center/styles.cljs index 29410988cc5..295ba777221 100644 --- a/src/status_im/ui/screens/notifications_center/styles.cljs +++ b/src/status_im/ui/screens/notifications_center/styles.cljs @@ -67,10 +67,11 @@ :top 12 :left 16}) -(def title-text +(defn title-text [title-text-width] {:margin-left 72 :margin-top 12 - :margin-right 50}) + :margin-right 50 + :width title-text-width}) (def notification-message-container {:margin-left 72 @@ -84,4 +85,4 @@ (def community-info-container {:flex-direction :row - :align-items :center}) \ No newline at end of file + :align-items :center}) diff --git a/src/status_im/ui/screens/notifications_center/views/notification.cljs b/src/status_im/ui/screens/notifications_center/views/notification.cljs index 55eb68beb48..b66d4c96f59 100644 --- a/src/status_im/ui/screens/notifications_center/views/notification.cljs +++ b/src/status_im/ui/screens/notifications_center/views/notification.cljs @@ -19,7 +19,8 @@ {:keys [community-id]} (