Skip to content

[6.x] Forms 2: Stop long recipient lists breaking connection headers - #16156

Merged
jaygeorge merged 4 commits into
6.xfrom
16156-email-recipients-overflow
Dec 2, 2026
Merged

jaygeorge merged 4 commits into
6.xfrom
16156-email-recipients-overflow

Conversation

@jaygeorge

@jaygeorge jaygeorge commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Description of the Problem

Closes #16154

An email connection sent to several recipients shows them all in its header pill, which never shrinks. With four or five addresses, the pill runs past the card, under the switch and menu, and pushes Preview off the edge. Long webhook URLs do the same.

image

What this PR Does

The recipients (or URL) pill now shrinks and ends in "…" once the row runs out of room. It takes at most half the row, so a condition summary beside it still gets space, and the condition's field name shrinks too. Preview, the switch and the menu always stay inside the card.

It uses overflow-x: clip (via st-text-trim-truncate where the trim matches) rather than truncate, since overflow: hidden clips the tops and tails of the trimmed text.

Before / After

image

How to Reproduce

  1. Open a form's Connect tab and add an email.
  2. Set the recipients to four or five addresses and save.
  3. Collapse the email: the header runs off the card.

@jaygeorge
jaygeorge enabled auto-merge (squash) December 2, 2026 21:50
@jaygeorge
jaygeorge merged commit bd1b89e into 6.x Dec 2, 2026
64 checks passed
@jaygeorge
jaygeorge deleted the 16156-email-recipients-overflow branch December 2, 2026 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Layout is broken when an email connect is set to multiple recipients.

1 participant