Aiden Cline 7 месяцев назад
Родитель
Сommit
052a1e7514
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      packages/tui/internal/components/dialog/find.go

+ 5 - 1
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) {