mirror of
https://github.com/yattee/yattee.git
synced 2026-07-19 22:02:10 +00:00
Fix Clear All Recents button stretching full width on macOS
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user