|
72 | 72 | tr.stripe td { background-color: var(--bone-stripe-bg); } |
73 | 73 | tr:not(.stripe) td { background-color: var(--bone-row-bg); } |
74 | 74 | td:nth-child(3) { white-space: nowrap; } |
75 | | - td:nth-child(8) { min-width: 740px; } /* Subject */ |
| 75 | + /* The table always fills the container (even with columns hidden via |
| 76 | + --html-columns) and Subject soaks up all the leftover width: the |
| 77 | + width:100% td is the greedy column, truncated at its allotted space |
| 78 | + by the max-width:0 rule injected from bone-index.js. The 740px |
| 79 | + floor lives on the th: putting min-width on the td would clamp its |
| 80 | + max-width:0 back up to 740px (CSS 2.1 §10.4) and re-freeze the |
| 81 | + column at exactly 740px. */ |
| 82 | + #reports-table table { width: 100%; } |
| 83 | + td:nth-child(8) { width: 100%; } /* Subject */ |
| 84 | + th:nth-child(8) { min-width: 740px; } /* Subject floor */ |
76 | 85 | td:nth-child(7) { max-width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* Author */ |
77 | 86 | #status { font-size: 0.8rem; margin-bottom: 0.5rem; } |
78 | 87 | .row-icon { font-size: 0.75rem; text-decoration: none; } |
|
96 | 105 | } |
97 | 106 | @media (max-width: 860px) { |
98 | 107 | td:nth-child(2), th:nth-child(2) { display: none; } /* Priority */ |
99 | | - td:nth-child(8) { min-width: auto; } /* Subject */ |
| 108 | + th:nth-child(8) { min-width: auto; } /* Subject floor */ |
100 | 109 | } |
101 | 110 | @media (max-width: 780px) { |
102 | 111 | td:nth-child(5), th:nth-child(5) { display: none; } /* Replies */ |
|
0 commit comments