fix(tui): set explicit NAME column width to match content truncation
Was width=0 (auto) which let lipgloss over-allocate the column, causing visible empty space between truncated names and TYPE column. Now set to nameW explicitly so column width = truncation limit.
This commit is contained in:
@@ -412,7 +412,7 @@ func (m Model) computeLayout() tableLayout {
|
||||
for i, c := range cols {
|
||||
if i == 1 {
|
||||
headers[i] = "NAME"
|
||||
widths[i] = 0
|
||||
widths[i] = nameW
|
||||
continue
|
||||
}
|
||||
if i == 6 {
|
||||
|
||||
Reference in New Issue
Block a user