Improve search suggestion button area

This commit is contained in:
Arkadiusz Fal 2022-01-04 23:34:09 +01:00
parent 5498e2c4ab
commit 3326088081

View File

@ -38,9 +38,12 @@ struct SearchSuggestions: View {
Text(querySuffix(suggestion))
.lineLimit(1)
.layoutPriority(1)
.frame(minWidth: 0, maxWidth: .infinity, alignment: .leading)
.contentShape(Rectangle())
}
}
}
.frame(minWidth: 0, maxWidth: .infinity, alignment: .leading)
.buttonStyle(.plain)
Spacer()