Andrey Shovkoplyas 2017-01-30 21:24:28 +03:00 committed by Roman Volosovskyi
parent 8110576228
commit dc01b9e3b7
6 changed files with 8 additions and 8 deletions

View File

@ -39,6 +39,7 @@
:bottom-gradient {:height 3}
:input-label {:left 4}
:input-error-text {:margin-left 4}
:main-tab-list {:margin-bottom 20}
:toolbar-nav-action {:width 56
:height 56
:align-items :center

View File

@ -115,8 +115,9 @@
{:flex 1})
(def list-container
{:background-color color-light-gray
:margin-bottom (when p/ios? 72)})
(merge (get-in p/platform-specific [:component-styles :main-tab-list])
{:background-color color-light-gray}))
(def create-icon
{:fontSize 20

View File

@ -20,8 +20,8 @@
:background-color toolbar-background2})
(def contacts-list-container
{:flex 1
:margin-bottom (when p/ios? 72)})
(merge (get-in p/platform-specific [:component-styles :main-tab-list])
{:flex 1}))
(def empty-contact-groups
(merge contact-groups

View File

@ -81,7 +81,7 @@
[toolbar-view (and current-view?
(= show-search :discover))]
(if discoveries
[scroll-view st/scroll-view-container
[scroll-view {:style (get-in platform-specific [:component-styles :main-tab-list])}
[discover-popular {:contacts contacts
:current-account current-account}]
[discover-recent {:current-account current-account}]]

View File

@ -26,9 +26,6 @@
(def section-spacing
{:padding 16})
(def scroll-view-container
{:bounces false})
;; Popular
(def popular-container

View File

@ -47,6 +47,7 @@
:bottom-gradient {:height 1}
:input-label {:left 0}
:input-error-text {:margin-left 0}
:main-tab-list {:margin-bottom 72}
:toolbar-nav-action {:width 46
:height 56
:align-items :center