From f0f44893c8a52491e15ad0f3c28cb3c023ac1cd4 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Wed, 21 Oct 2026 22:17:50 -0700 Subject: [PATCH] Keep merge card buttons from wrapping on iPhone --- mac/Sources/Byre/Attention.swift | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/mac/Sources/Byre/Attention.swift b/mac/Sources/Byre/Attention.swift index 99afff7..ec190ce 100644 --- a/mac/Sources/Byre/Attention.swift +++ b/mac/Sources/Byre/Attention.swift @@ -50,10 +50,21 @@ struct AttentionReply: 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) }