File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/status_im/contexts/communities/overview Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1717 [background-color]
1818 {:width " 100%"
1919 :background-color background-color
20- :height (+ 20 ; ; Area hidden by sheet on top but visible with rounded borders
20+ :height (+ 20 ; Area hidden by sheet on top but visible with rounded borders
2121 92
2222 ; ; On Android we count the navigation bar page-nav padding top
2323 ; ; because it isn't overlapped with the safe-area top.
4040 theme)}])
4141
4242(def ^:private page-nav-container-base-style
43- {:height (+ 12 ; ; padding-top
44- 12 ; ; padding-bottom
45- 32 ) ; ; button size
43+ {:height (+ 12 ; padding-top
44+ 12 ; padding-bottom
45+ 32 ) ; button size
4646 :width " 100%" })
4747
4848(defn page-nav-container
5151 page-nav-container-base-style
5252 {:top (if platform/android?
5353 safe-area/top
54- (- safe-area/top 12 )) ; ; -12 to place the button next to the safe-area
54+ (- safe-area/top 12 )) ; -12 to place the button next to the safe-area
5555 :opacity 1 }
5656 {:opacity opposite-header-opacity}])
5757
6161 page-nav-container-base-style
6262 {:top (if platform/android?
6363 safe-area/top
64- (- safe-area/top 12 )) ; ; -12 to place the button next to the safe-area
64+ (- safe-area/top 12 )) ; -12 to place the button next to the safe-area
6565 :opacity 0 }
6666 {:opacity header-opacity}])
6767
You can’t perform that action at this time.
0 commit comments