v1.7.1 — 任务抽屉改为 fixed 定位,长列表不丢失

This commit is contained in:
mac
2026-06-16 11:18:04 +08:00
parent 5af58c8faa
commit fc0ee66064

View File

@@ -516,10 +516,10 @@ td {
.task-body-wrap, .task-page-wrap { position: relative; overflow: hidden; }
.task-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; transition: margin-right 0.25s ease; }
.task-drawer {
position: absolute; top: 0; right: 0; width: 420px; height: 100%;
position: fixed; top: 0; right: 0; width: 420px; height: 100vh;
background: #fff; border-left: 1px solid #e2e8f0;
transform: translateX(100%); transition: transform 0.25s ease;
z-index: 10; display: flex; flex-direction: column;
z-index: 300; display: flex; flex-direction: column;
}
.task-drawer.open { transform: translateX(0); }
.task-drawer-hd {