Added ios safe area to banners

This commit is contained in:
Mitchell McCaffrey 2020-04-10 11:09:44 +10:00
parent 10e7493e5c
commit d8ddcd2cd5

View File

@ -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",