f9de1d368a7ac3b0f6caece9ab1b21dbeab86bd6
- Author
- Toby Padilla <toby@charm.sh>
- Committer
- Toby Padilla <toby@charm.sh>
- Date
Message
Remove border from app box
Diff
1diff --git a/tui/bubble.go b/tui/bubble.go
2index 8528c864e0b5244431ddfb5c91b083f6b202fb8b..87df275f3cf175f71a0436d49b84964a01f8b5cf 100644
3--- a/tui/bubble.go
4+++ b/tui/bubble.go
5@@ -137,7 +137,7 @@ func (b *Bubble) viewForBox(i int, width int, height int) string {
6 }
7 ls.Width(width)
8 if height > 0 {
9- ls.Height(height).MarginBottom(2)
10+ ls.Height(height).MarginBottom(3)
11 }
12 return ls.Render(b.boxes[i].View())
13 }
14@@ -163,5 +163,5 @@ func (b *Bubble) View() string {
15 s += errorStyle.Render(fmt.Sprintf("Bummer: %s", b.error))
16 }
17 content = h + "\n" + s + "\n" + f
18- return appBoxStyle.Width(w).Height(b.height - 2).BorderStyle(lipgloss.RoundedBorder()).Render(content)
19+ return appBoxStyle.Width(w).Height(b.height).Render(content)
20 }