feat: freeze directory table headers

This commit is contained in:
WuYongJie 2026-08-31 19:24:10 +08:00
parent 434499a9b6
commit 6da5af1e37

View File

@ -89,7 +89,8 @@
}
.directory-table-scroll {
overflow-x: auto;
max-height: calc(100vh - 20rem);
overflow: auto;
scrollbar-color: var(--vip-content-accent, #b9954f) #efede8;
scrollbar-width: thin;
}
@ -126,10 +127,14 @@
}
.directory-table thead th {
position: sticky;
top: 0;
z-index: 2;
background: var(--vip-content-accent-soft, #f7f0de);
color: var(--vip-content-ink, #171717);
font-size: 0.75rem;
font-weight: 600;
box-shadow: 0 1px 0 var(--vip-border, #d8d2c7);
}
.directory-table tbody tr:hover {