From d8ddcd2cd5b7fe89553e34ac7e0984ccbd0205a3 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Fri, 10 Apr 2020 11:09:44 +1000 Subject: [PATCH] Added ios safe area to banners --- src/components/Banner.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Banner.js b/src/components/Banner.js index b916d67..a7d6020 100644 --- a/src/components/Banner.js +++ b/src/components/Banner.js @@ -16,7 +16,8 @@ function Banner({ isOpen, onRequestClose, children }) { top: "initial", left: "50%", right: 0, - bottom: 0, + // Offset for iOS safe zone + bottom: "env(safe-area-inset-bottom)", border: "none", padding: "8px", margin: "8px",