fix(SW-1111) Fix issues with map
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -18,4 +18,5 @@
|
||||
left: 0;
|
||||
height: 100vh;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user