feat: redesign task detail paper flow
ci / gitleaks (push) Successful in 8s
ci / docker (push) Successful in 3m37s

This commit is contained in:
2026-09-18 18:26:31 +08:00
parent 26f6ef31a6
commit 432a133a42
9 changed files with 263 additions and 45 deletions
@@ -77,6 +77,11 @@ export function popOverlay(id: symbol) {
})
}
export function overlayZIndex(id: symbol | null) {
const index = id ? stack.findIndex((entry) => entry.id === id) : -1
return 80 + Math.max(0, index)
}
export function isTopOverlay(id: symbol | null) {
return Boolean(id && stack.at(-1)?.id === id)
}