fix(css): correct mobile expand-row hiding for col-cat vs expand-row cells

col-cat and expand-row cells need different treatment on mobile:
- col-cat uses display:none (whole column hidden)
- expand-row first/last cells collapse via width/padding/overflow
  rather than display:none to avoid breaking table layout

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Vinta Chen
2026-03-24 12:40:22 +08:00
parent dd3b2cc0e6
commit 088680e568

View File

@@ -1110,10 +1110,15 @@ th[data-sort].sort-asc::after {
}
.col-num,
.col-cat,
.col-cat {
display: none;
}
.expand-row td:first-child,
.expand-row td:last-child {
display: none;
width: 0;
padding: 0;
overflow: hidden;
}
.col-name {