fix: 冻结系统化待办表头 #722

Merged
chenxi merged 1 commits from fix/chenxi-systemization-todo-sticky-header into main 2026-10-28 13:30:11 +08:00

View File

@ -55,8 +55,10 @@
.sys-todo-filter__multi-menu input[type="checkbox"] { flex:0 0 auto; width:1rem; height:1rem; padding:0; accent-color:var(--sys-gold); }
.sys-todo-filter__multi-empty { padding:.65rem; color:#777; font-size:.75rem; text-align:center; }
.sys-todo-filter__actions { display:flex; grid-column:span 2; justify-content:flex-end; gap:.45rem; }
.sys-todo-table-wrap { overflow-x:auto; overflow-y:visible; border:1px solid var(--sys-border); border-radius:.65rem; background:#fff; scrollbar-width:none; }
.sys-todo-table-wrap::-webkit-scrollbar { height:0; }
.sys-todo-table-wrap { max-height:calc(100vh - 20rem); overflow:auto; border:1px solid var(--sys-border); border-radius:.65rem; background:#fff; scrollbar-width:thin; scrollbar-color:var(--sys-gold) #efede8; }
.sys-todo-table-wrap::-webkit-scrollbar { width:8px; height:0; }
.sys-todo-table-wrap::-webkit-scrollbar-track { background:#efede8; }
.sys-todo-table-wrap::-webkit-scrollbar-thumb { border-radius:4px; background:var(--sys-gold); }
.sys-todo-table { width:108rem; min-width:108rem; table-layout:fixed; border-collapse:separate; border-spacing:0; font-size:.75rem; }
.sys-todo-table th { position:sticky; top:0; z-index:4; padding:.55rem .7rem; border-bottom:1px solid var(--sys-border); background:#f3ece0; color:#3d3a35; text-align:left; white-space:nowrap; }
.sys-todo-table th:first-child { left:0; z-index:8; width:var(--sys-todo-type-width,5.4rem); text-align:center; box-shadow:1px 0 0 #e5ddcf; }