Skip to content

Commit

Permalink
Fix paddings on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ulisesmac committed Oct 31, 2023
1 parent fa6787d commit 64f6f18
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@

(defn container
[blur?]
(cond-> {:width "100%"
:margin-top :auto
:align-self :flex-end
:padding-horizontal 20
:padding-vertical 12}
blur? (assoc :overflow :hidden)
(and blur? platform/android?) (assoc :margin-left 20)))
(cond-> {:width "100%"
:margin-top :auto
:align-self :flex-end}
blur? (assoc :overflow :hidden)
(not blur?) (assoc :padding-vertical 12
:padding-horizontal 20)
platform/android? (assoc :padding-horizontal 20
:padding-vertical 12
:margin-left 20)))

(defn blur-inner-container
[theme]
Expand Down

0 comments on commit 64f6f18

Please sign in to comment.