diff --git a/src/quo2/components/navigation/page_nav.cljs b/src/quo2/components/navigation/page_nav.cljs index 705cfa4805..a858a81f47 100644 --- a/src/quo2/components/navigation/page_nav.cljs +++ b/src/quo2/components/navigation/page_nav.cljs @@ -216,7 +216,6 @@ ;; iPhone 11 Pro's height in Figma divided by Component height 56/1125 :align-items :center :padding-horizontal 20 - :margin-top 44 :height 56 :justify-content :space-between} page-nav-background-uri (assoc :background-color page-nav-color) diff --git a/src/status_im2/common/scroll_page/view.cljs b/src/status_im2/common/scroll_page/view.cljs index 515e724edb..0c02118634 100644 --- a/src/status_im2/common/scroll_page/view.cljs +++ b/src/status_im2/common/scroll_page/view.cljs @@ -77,21 +77,22 @@ :style {:line-height 21}} name]]) (if top-nav - [rn/view {:margin-top (if platform/ios? 44 0)} + [rn/view {:style {:margin-top (if platform/ios? 44 0)}} top-nav] - [quo/page-nav - (merge {:horizontal-description? true - :one-icon-align-left? true - :align-mid? false - :page-nav-color :transparent - :mid-section {:type :text-with-description - :main-text nil - :description-img nil} - :right-section-buttons page-nav} - (when navigate-back? - {:left-section {:icon :i/close - :icon-background-color (icon-color) - :on-press #(rf/dispatch [:navigate-back])}}))]) + [rn/view {:style {:margin-top 44}} + [quo/page-nav + (merge {:horizontal-description? true + :one-icon-align-left? true + :align-mid? false + :page-nav-color :transparent + :mid-section {:type :text-with-description + :main-text nil + :description-img nil} + :right-section-buttons page-nav} + (when navigate-back? + {:left-section {:icon :i/close + :icon-background-color (icon-color) + :on-press #(rf/dispatch [:navigate-back])}}))]]) (when title-colum title-colum) sticky-header]]))