Skip to content

[6.x] Prevent horizontal overflow on create form pages#13866

Merged
jasonvarga merged 4 commits into6.xfrom
create-form-overflow
Feb 18, 2026
Merged

[6.x] Prevent horizontal overflow on create form pages#13866
jasonvarga merged 4 commits into6.xfrom
create-form-overflow

Conversation

@duncanmcclean
Copy link
Member

This pull request attempts to prevent the horizontal overflow currently seen on Create Form pages.

Copy link
Member

@jasonvarga jasonvarga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just masking the issue. There's gotta be something pushing it wider.

@jasonvarga
Copy link
Member

It's this:

width: 100vw;

@duncanmcclean
Copy link
Member Author

Oh good catch. It doesn't seem like we need that width so I've just removed it.

@jasonvarga
Copy link
Member

I meant that's what's causing the overflow. Removing it fixes the overflow but removes the horizontal line that was being intentionally added.

@JayGeorge
Copy link
Contributor

Executive Summary

I've removed the line that caused the overflow—in hindsight, aesthetically I prefer the look of it without the line.

Details

The overflow is caused by the horizontal line added to the action button underneath the form (in this case "Create Form"). I've highlighted the horizontal line in the screenshot below.

2026-02-18 at 13 34 14@2x

This is added around line 310 of utilities.css

footer {
    position: relative;
    &::before {
        content: '';
        pointer-events: none;
        position: absolute;
        border-block-end: 1px solid black;
        opacity: 0.06;
        width: 100vw;
        top: 50%;
        transform: translateY(50%);
    }
    etc.
}

In this case, 100vw was needed to extend the line across the container. We could have fixed it by adding overflow-x: clip; to container, around line 264

…a button, e.g. Create Form. In hindsight, aesthetically I prefer the look of it without the line.
@jasonvarga jasonvarga merged commit d8d0c9b into 6.x Feb 18, 2026
11 checks passed
@jasonvarga jasonvarga deleted the create-form-overflow branch February 18, 2026 19:45
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.

3 participants

Comments