mirror of
https://github.com/yattee/yattee.git
synced 2026-07-20 14:22:02 +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
|
showingClearAllRecentsConfirmation = true
|
||||||
} label: {
|
} label: {
|
||||||
HStack(spacing: 6) {
|
HStack(spacing: 6) {
|
||||||
Spacer()
|
|
||||||
Image(systemName: "trash")
|
Image(systemName: "trash")
|
||||||
Text(String(localized: "search.clearAllRecents"))
|
Text(String(localized: "search.clearAllRecents"))
|
||||||
.fontWeight(.semibold)
|
.fontWeight(.semibold)
|
||||||
Spacer()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.foregroundStyle(.secondary)
|
.foregroundStyle(.secondary)
|
||||||
|
.frame(maxWidth: .infinity)
|
||||||
.padding(.top, 16)
|
.padding(.top, 16)
|
||||||
.padding(.bottom, 32)
|
.padding(.bottom, 32)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user