diff --git a/src/components/PageMinimap.jsx b/src/components/PageMinimap.jsx
index 8d186cd..7942d6f 100644
--- a/src/components/PageMinimap.jsx
+++ b/src/components/PageMinimap.jsx
@@ -1,6 +1,7 @@
import { useCallback, useEffect, useRef, useState } from 'react';
import Box from '@mui/material/Box';
import IconButton from '@mui/material/IconButton';
+import Portal from '@mui/material/Portal';
import MapRoundedIcon from '@mui/icons-material/MapRounded';
import CloseRoundedIcon from '@mui/icons-material/CloseRounded';
@@ -202,18 +203,19 @@ export default function PageMinimap({ sourceSelector = 'main' }) {
// Collapsed: a single centered pill to reopen the overview.
if (!open) {
return (
-
+
+
-
+
+
);
}
return (
-
+
- );
+
+);
}