Skip to content

[6.x] Forms 2: Stop short page names getting cut off in the logic tree - #16059

Merged
jaygeorge merged 1 commit into
6.xfrom
16059-logic-page-title-wrap
Nov 25, 2026
Merged

jaygeorge merged 1 commit into
6.xfrom
16059-logic-page-title-wrap

Conversation

@jaygeorge

@jaygeorge jaygeorge commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Description of the Problem

On a form's Logic tab, a short page name can get cut off even though there's plenty of room for it. A page called "Extras" shows as "Extr…".

image

What this PR Does

Swaps line-clamp-1 for truncate on the page name in the logic tree.

The name box is sized to fit its text, and in Chrome the measured width can come out a fraction of a pixel narrower than the text needs. With line-clamp-1 that's enough to wrap the end of the word onto a second line, which the clamp then hides. truncate keeps it on one line, and long names still get an ellipsis.

The field labels keep line-clamp, since they're full width and the expanded view lets them wrap to two lines on purpose.

Before / After

image

How to Reproduce

  1. Give a form a page called "Extras", with logic going to or from it
  2. Open the form's Logic tab
  3. The page name shows as "Extr…"

- Use truncate instead of line-clamp-1 for the page title, so a name that only just fits isn't cut off
@jaygeorge
jaygeorge enabled auto-merge (squash) November 25, 2026 17:06
@jaygeorge
jaygeorge merged commit c32098a into 6.x Nov 25, 2026
122 of 123 checks passed
@jaygeorge
jaygeorge deleted the 16059-logic-page-title-wrap branch November 25, 2026 17:21
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.

1 participant