fix: note modal hidden behind mobile sidebar due to z-index

This commit is contained in:
Salman Abuhaimed
2026-03-31 06:01:41 +03:00
parent bb9c0c9b68
commit 96b6d7d81f

View File

@@ -1406,7 +1406,7 @@ export default function DayPlanSidebar({
{/* Notiz-Popup-Modal — über Portal gerendert, um den backdropFilter-Stapelkontext zu umgehen */}
{Object.entries(noteUi).map(([dayId, ui]) => ui && ReactDOM.createPortal(
<div key={dayId} style={{
position: 'fixed', inset: 0, zIndex: 1000,
position: 'fixed', inset: 0, zIndex: 10000,
display: 'flex', alignItems: 'center', justifyContent: 'center',
background: 'rgba(0,0,0,0.3)', backdropFilter: 'blur(3px)',
}} onClick={() => cancelNote(Number(dayId))}>