From cc50c88d75e578bf2754cd721398dc4ec7277d85 Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Sat, 11 Jul 2026 20:25:10 +0200 Subject: [PATCH] Fix Clear All Recents button stretching full width on macOS --- Yattee/Views/Search/SearchView.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Yattee/Views/Search/SearchView.swift b/Yattee/Views/Search/SearchView.swift index 4e2eff49..999f67ed 100644 --- a/Yattee/Views/Search/SearchView.swift +++ b/Yattee/Views/Search/SearchView.swift @@ -887,14 +887,13 @@ struct SearchView: View { showingClearAllRecentsConfirmation = true } label: { HStack(spacing: 6) { - Spacer() Image(systemName: "trash") Text(String(localized: "search.clearAllRecents")) .fontWeight(.semibold) - Spacer() } } .foregroundStyle(.secondary) + .frame(maxWidth: .infinity) .padding(.top, 16) .padding(.bottom, 32) }