Fix tile droppable rendering on Safari

This commit is contained in:
Mitchell McCaffrey 2021-06-09 23:24:24 +10:00
parent a8c355f251
commit 8b0ee7075d
2 changed files with 8 additions and 3 deletions

View File

@ -40,7 +40,10 @@ function TilesContainer({ children }) {
id={ADD_TO_MAP_ID}
style={{
position: "absolute",
inset: 0,
top: 0,
bottom: 0,
left: 0,
right: 0,
zIndex: -1,
}}
/>

View File

@ -142,7 +142,6 @@ function TilesOverlay({ modalSize, children }) {
style={{
position: "absolute",
width: modalSize.width,
// height: modalSize.height,
height: `calc(100% + ${
modalSize.height - containerSize.height + 48
}px)`,
@ -159,7 +158,10 @@ function TilesOverlay({ modalSize, children }) {
id={UNGROUP_ID}
style={{
position: "absolute",
inset: 0,
top: 0,
bottom: 0,
left: 0,
right: 0,
zIndex: -1,
}}
/>