fix: enable horizontal scroll in Browse table, remove text truncation#5
fix: enable horizontal scroll in Browse table, remove text truncation#5weidai00 wants to merge 1 commit into
Conversation
Updated styles for data table and cell copy components.
|
Thanks for the fix. Changing One concern: removing Could we keep a reasonable cell width and allow arbitrary text wrapping instead? For example: .zv-cell-copy {
max-width: 300px;
}
.zv-cell-copy__text {
min-width: 0;
white-space: normal;
overflow-wrap: anywhere;
}This preserves horizontal scrolling for tables with many columns while still displaying complete cell content without ellipsis. These styles are also shared by the Browse table and the Query results table, so please verify the behavior on both pages. |
Table columns were hidden by overflow:hidden when the collection has
many fields, and long cell text was truncated by max-width:300px and
text-overflow:ellipsis.
Changed .zv-data-table-wrap to overflow-x:auto for horizontal scrolling,
removed max-width on .zv-cell-copy, and allowed text wrapping in
.zv-cell-copy__text.
Signed-off-by: weidai00 m13592398723@163.com