Fix the problem temporarily by activating the css file

This commit is contained in:
Alireza Adli 2023-11-03 08:43:49 -04:00
parent c720a02a7a
commit ff779aefda
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
.map-container { .map-container {
position: absolute; position: fixed;
top: 76px; /* sync with header positioning*/ top: 0; /* sync with header positioning*/
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; right: 0;

View File

@ -134,13 +134,13 @@ export const ColouringMap: FC<ColouringMapProps> = ({
<div <div
ref={mapContainer} ref={mapContainer}
className="map-container" className="map-container"
style={{ /*style={{
position: "absolute", position: "absolute",
top: "0", top: "0",
bottom: "0", bottom: "0",
left: "0", left: "0",
right: "0", right: "0",
}} }}*/
> >
{mode !== "basic" && ( {mode !== "basic" && (
<> <>