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
+15 -4
View File
@@ -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)
}