diff --git a/src/pages/Planning/Planning.css b/src/pages/Planning/Planning.css index 7d79e3a..05a03ab 100644 --- a/src/pages/Planning/Planning.css +++ b/src/pages/Planning/Planning.css @@ -337,12 +337,10 @@ right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); - display: flex; - align-items: center; - justify-content: center; z-index: 2000; - padding: 1rem; animation: fadeIn 0.2s ease; + border: none; + cursor: default; } @keyframes fadeIn { @@ -355,25 +353,30 @@ } .planning-modal { + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); background: #fff; border-radius: 24px; max-width: 550px; - width: 100%; + width: calc(100% - 2rem); max-height: 85vh; overflow: hidden; display: flex; flex-direction: column; animation: slideUp 0.3s ease; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); + z-index: 2001; } @keyframes slideUp { from { - transform: translateY(30px); + transform: translate(-50%, -50%) translateY(30px); opacity: 0; } to { - transform: translateY(0); + transform: translate(-50%, -50%) translateY(0); opacity: 1; } }