Keep merge card buttons from wrapping on iPhone

This commit is contained in:
Ian Gulliver
2026-10-21 22:17:50 -07:00
parent 1eed510320
commit f0f44893c8
+11
View File
@@ -50,11 +50,22 @@ struct AttentionReply<Leading: View, Trailing: View>: View {
var body: some View { var body: some View {
VStack(alignment: .leading, spacing: 6) { VStack(alignment: .leading, spacing: 6) {
OtherEntry(key: key, placeholder: placeholder, busy: busy, focus: focus, send: send) OtherEntry(key: key, placeholder: placeholder, busy: busy, focus: focus, send: send)
ViewThatFits(in: .horizontal) {
HStack(spacing: 8) { HStack(spacing: 8) {
leading leading
Spacer(minLength: 0) Spacer(minLength: 0)
trailing trailing
} }
VStack(alignment: .trailing, spacing: 6) {
HStack(spacing: 8) {
leading
Spacer(minLength: 0)
}
HStack(spacing: 8) {
trailing
}
}
}
.disabled(busy) .disabled(busy)
} }
} }