Added ios safe area to banners
This commit is contained in:
parent
10e7493e5c
commit
d8ddcd2cd5
@ -16,7 +16,8 @@ function Banner({ isOpen, onRequestClose, children }) {
|
|||||||
top: "initial",
|
top: "initial",
|
||||||
left: "50%",
|
left: "50%",
|
||||||
right: 0,
|
right: 0,
|
||||||
bottom: 0,
|
// Offset for iOS safe zone
|
||||||
|
bottom: "env(safe-area-inset-bottom)",
|
||||||
border: "none",
|
border: "none",
|
||||||
padding: "8px",
|
padding: "8px",
|
||||||
margin: "8px",
|
margin: "8px",
|
||||||
|
Loading…
Reference in New Issue
Block a user