From 12080ba4d8d8ff11699325a4a44017882db6235b Mon Sep 17 00:00:00 2001 From: Goran Jovic Date: Sun, 15 Oct 2017 14:57:22 +0200 Subject: [PATCH] fix #2081 - fixed toolbar title for smaller ios screens --- src/status_im/components/toolbar_new/styles.cljs | 4 +++- src/status_im/ui/screens/discover/styles.cljs | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/status_im/components/toolbar_new/styles.cljs b/src/status_im/components/toolbar_new/styles.cljs index e0b33411e3..fde7eb4b1c 100644 --- a/src/status_im/components/toolbar_new/styles.cljs +++ b/src/status_im/components/toolbar_new/styles.cljs @@ -120,4 +120,6 @@ (def item-text-white-background {:color styles/color-blue4}) -(def ios-content-item {:position :absolute :right 90 :left 90}) +;;TODO(goranjovic) - Breaks the toolbar title into new line on smaller screens +;;e.g. see Discover > Popular hashtags on iPhone 5s +(def ios-content-item {:position :absolute :right 40 :left 40}) diff --git a/src/status_im/ui/screens/discover/styles.cljs b/src/status_im/ui/screens/discover/styles.cljs index 2e001bc0de..3f3cd6ef86 100644 --- a/src/status_im/ui/screens/discover/styles.cljs +++ b/src/status_im/ui/screens/discover/styles.cljs @@ -256,6 +256,7 @@ (def discover-container {:flex 1 + :margin-top 16 :background-color styles/color-light-gray}) (def list-container