diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-21 19:56:25 +0300 |
|---|---|---|
| committer | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-21 19:56:25 +0300 |
| commit | b77839545023cb39ab2f9d2a2717c641aeb3a588 (patch) | |
| tree | 1c6806e4a21cbcb5e3f1555b82cb824350c4f0e3 | |
| parent | fde95e1ca2acb202b3e2698562ab0a3ca360c0cc (diff) | |
Fix extra spacing in highlighted table rows
| -rw-r--r-- | internal/atable/table.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/atable/table.go b/internal/atable/table.go index 3e6cc93..528276f 100644 --- a/internal/atable/table.go +++ b/internal/atable/table.go @@ -530,7 +530,7 @@ func addSpacingStyled(cells []string, style lipgloss.Style) []string { spaced := make([]string, 0, len(cells)*2-1) for i, cell := range cells { if i > 0 { - spaced = append(spaced, style.Render(" ")) + spaced = append(spaced, style.Copy().Padding(0, 0).Render(" ")) } spaced = append(spaced, cell) } |
