bug #2222 - dapp name in two lines and centered

This commit is contained in:
Goran Jovic 2017-10-25 09:09:51 +02:00 committed by Roman Volosovskyi
parent 7256ddafa9
commit ef27444ba8
2 changed files with 3 additions and 2 deletions

View File

@ -23,7 +23,7 @@
[react/view [chat-icon/contact-icon-view dapp {:size 80}]]] [react/view [chat-icon/contact-icon-view dapp {:size 80}]]]
[react/text {:style styles/dapps-list-item-name [react/text {:style styles/dapps-list-item-name
:font :medium :font :medium
:number-of-lines 1} :number-of-lines 2}
name]]]]]) name]]]]])
;; TODO(oskarth): Move this to top level discover ns ;; TODO(oskarth): Move this to top level discover ns

View File

@ -210,7 +210,8 @@
:padding 4 :padding 4
:margin 4 :margin 4
:color styles/text1-color :color styles/text1-color
:font-size 14}) :font-size 14
:text-align :center})
(defstyle dapps-list-item-avatar-container (defstyle dapps-list-item-avatar-container
{:flex-direction :column {:flex-direction :column