From a96a80a03691312113ee07500e1a488c98c45530 Mon Sep 17 00:00:00 2001 From: seb Date: Sun, 11 Oct 2026 15:01:26 +0200 Subject: [PATCH] u --- src/components/PageMinimap.jsx | 35 +++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) 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 ( - + - ); + +); }