mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-25 05:33:05 +08:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user