Commit fda21df
committed
fix(table-view): restore one-line truncation and pin the header
The read-only TableView carried `overflow-clip text-ellipsis` on its cell
kinds but no `whitespace-nowrap` — which the grid gets from its own
CELL_CONTENT. An ellipsis needs a single non-wrapping line, so those classes
were inert: text wrapped to several lines and rows grew unevenly where the
grid renders one line and an ellipsis. Adds the rule plus `min-w-0` so the
flex container can shrink below the now-unwrapped content.
Also pins the header, matching the grid, so a long table in a panel keeps its
column labels while scrolling.
Both are scoped to table-view.tsx; the grid's own rendering path is untouched.1 parent 9fae741 commit fda21df
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
158 | 168 | | |
159 | | - | |
| 169 | + | |
160 | 170 | | |
161 | 171 | | |
162 | 172 | | |
| |||
0 commit comments