Skip to content

Commit

Permalink
fix: broken overflow style
Browse files Browse the repository at this point in the history
  • Loading branch information
wheelibin committed Aug 31, 2024
1 parent b20c188 commit 10fc91c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions table/overflow.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@ const columnKeyOverflowRight = "___overflow_r___"
const columnKeyOverflowLeft = "___overflow_l__"

func genOverflowStyle(base lipgloss.Style, width int) lipgloss.Style {
style := lipgloss.NewStyle().Width(width).Align(lipgloss.Right)

style.Inherit(base)

return style
return base.Width(width).Align(lipgloss.Right)
}

func genOverflowColumnRight(width int) Column {
Expand Down

0 comments on commit 10fc91c

Please sign in to comment.