diff --git a/style/main.scss b/style/main.scss index cd29d0b..659231c 100644 --- a/style/main.scss +++ b/style/main.scss @@ -1195,15 +1195,24 @@ body:has(.log-list) { } .admin-confirm-pop { - position: absolute; - right: 0; - top: calc(100% + 6px); + // Viewport-fixed and centered, iz's delete-confirm model: position:fixed + // escapes every overflow ancestor, and the table wrap is a scroll + // container (it takes the tables' sideways scroll) — an absolutely + // anchored pop inside it would grow that scroll area instead of + // overlaying the page. Centered also reads as the page's one dialog and + // is row-agnostic: the first row's pop and the last row's pop land the + // same, at any width. + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); z-index: 30; width: 240px; padding: 12px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius); + box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 8px;