Keep merge card buttons from wrapping on iPhone
This commit is contained in:
@@ -50,10 +50,21 @@ struct AttentionReply<Leading: View, Trailing: View>: View {
|
||||
var body: some View {
|
||||
VStack(alignment: .leading, spacing: 6) {
|
||||
OtherEntry(key: key, placeholder: placeholder, busy: busy, focus: focus, send: send)
|
||||
HStack(spacing: 8) {
|
||||
leading
|
||||
Spacer(minLength: 0)
|
||||
trailing
|
||||
ViewThatFits(in: .horizontal) {
|
||||
HStack(spacing: 8) {
|
||||
leading
|
||||
Spacer(minLength: 0)
|
||||
trailing
|
||||
}
|
||||
VStack(alignment: .trailing, spacing: 6) {
|
||||
HStack(spacing: 8) {
|
||||
leading
|
||||
Spacer(minLength: 0)
|
||||
}
|
||||
HStack(spacing: 8) {
|
||||
trailing
|
||||
}
|
||||
}
|
||||
}
|
||||
.disabled(busy)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user