fix(SW-1111) Fix issues with map

This commit is contained in:
Pontus Dreij
2025-01-10 14:52:59 +01:00
parent 5d5de0de31
commit 185dc3e8cc
5 changed files with 20 additions and 6 deletions

View File

@@ -7,8 +7,8 @@ import { debounce } from "@/utils/debounce"
import styles from "./mapModal.module.css"
export function MapContainer({ children }: { children: React.ReactNode }) {
const [mapHeight, setMapHeight] = useState("0px")
const [mapTop, setMapTop] = useState("0px")
const [mapHeight, setMapHeight] = useState("")
const [mapTop, setMapTop] = useState("")
const [mapZIndex, setMapZIndex] = useState(0)
const [scrollHeightWhenOpened, setScrollHeightWhenOpened] = useState(0)

View File

@@ -18,4 +18,5 @@
left: 0;
height: 100vh;
right: 0;
bottom: 0;
}