From ef27444ba822f4566a6a3668a1b921d63dff6832 Mon Sep 17 00:00:00 2001 From: Goran Jovic Date: Wed, 25 Oct 2017 09:09:51 +0200 Subject: [PATCH] bug #2222 - dapp name in two lines and centered --- src/status_im/ui/screens/discover/all_dapps/views.cljs | 2 +- src/status_im/ui/screens/discover/styles.cljs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/status_im/ui/screens/discover/all_dapps/views.cljs b/src/status_im/ui/screens/discover/all_dapps/views.cljs index 53647763e5..96b364c9b2 100644 --- a/src/status_im/ui/screens/discover/all_dapps/views.cljs +++ b/src/status_im/ui/screens/discover/all_dapps/views.cljs @@ -23,7 +23,7 @@ [react/view [chat-icon/contact-icon-view dapp {:size 80}]]] [react/text {:style styles/dapps-list-item-name :font :medium - :number-of-lines 1} + :number-of-lines 2} name]]]]]) ;; TODO(oskarth): Move this to top level discover ns diff --git a/src/status_im/ui/screens/discover/styles.cljs b/src/status_im/ui/screens/discover/styles.cljs index 003ba63674..a6a332b5b3 100644 --- a/src/status_im/ui/screens/discover/styles.cljs +++ b/src/status_im/ui/screens/discover/styles.cljs @@ -210,7 +210,8 @@ :padding 4 :margin 4 :color styles/text1-color - :font-size 14}) + :font-size 14 + :text-align :center}) (defstyle dapps-list-item-avatar-container {:flex-direction :column