File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ func (m Model) renderFooter(width int, includeTop bool) string {
19
19
styleFooter := m .baseStyle .Copy ().Inherit (m .border .styleFooter ).Width (width - borderAdjustment )
20
20
21
21
if includeTop {
22
- styleFooter .BorderTop (true )
22
+ styleFooter = styleFooter .BorderTop (true )
23
23
}
24
24
25
25
if m .staticFooter != "" {
Original file line number Diff line number Diff line change @@ -6,11 +6,7 @@ const columnKeyOverflowRight = "___overflow_r___"
6
6
const columnKeyOverflowLeft = "___overflow_l__"
7
7
8
8
func genOverflowStyle (base lipgloss.Style , width int ) lipgloss.Style {
9
- style := lipgloss .NewStyle ().Width (width ).Align (lipgloss .Right )
10
-
11
- style .Inherit (base )
12
-
13
- return style
9
+ return base .Width (width ).Align (lipgloss .Right )
14
10
}
15
11
16
12
func genOverflowColumnRight (width int ) Column {
You can’t perform that action at this time.
0 commit comments