summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/tui/internal/components/dialog/find.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/tui/internal/components/dialog/find.go b/packages/tui/internal/components/dialog/find.go
index 3fc6e5994..a7f43842b 100644
--- a/packages/tui/internal/components/dialog/find.go
+++ b/packages/tui/internal/components/dialog/find.go
@@ -131,7 +131,11 @@ func (f *findDialogComponent) View() string {
Render(inputView)
listView := f.list.View()
- return styles.NewStyle().Height(12).Render(inputView + "\n" + listView)
+ return styles.NewStyle().
+ Height(12).
+ Background(t.BackgroundElement()).
+ Width(f.width - 4).
+ Render(inputView + "\n" + listView)
}
func (f *findDialogComponent) SetWidth(width int) {