mirror of
https://github.com/yattee/yattee.git
synced 2024-11-10 00:08:21 +00:00
Improve search suggestion button area
This commit is contained in:
parent
5498e2c4ab
commit
3326088081
@ -38,9 +38,12 @@ struct SearchSuggestions: View {
|
|||||||
Text(querySuffix(suggestion))
|
Text(querySuffix(suggestion))
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
.layoutPriority(1)
|
.layoutPriority(1)
|
||||||
|
.frame(minWidth: 0, maxWidth: .infinity, alignment: .leading)
|
||||||
|
.contentShape(Rectangle())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.frame(minWidth: 0, maxWidth: .infinity, alignment: .leading)
|
||||||
.buttonStyle(.plain)
|
.buttonStyle(.plain)
|
||||||
|
|
||||||
Spacer()
|
Spacer()
|
||||||
|
Loading…
Reference in New Issue
Block a user