Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: <fieldset> element overflows #3072

Merged
merged 1 commit into from
May 1, 2024
Merged

fix: <fieldset> element overflows #3072

merged 1 commit into from
May 1, 2024

Conversation

DafyddLlyr
Copy link
Contributor

@DafyddLlyr DafyddLlyr commented Apr 30, 2024

I think this is the route of the problem causing the recent layout quirks we've been encountering.

Regression originally introduced here - #2976

It turns out <fieldset> elements have min-inline-size: min-content applied by default (MDN docs). This means that child content was overflowing and affecting layouts in a number of ways.

Broken layout on staging
https://editor.planx.dev/opensystemslab/listed-building-consent-files

Screen.Recording.2024-04-30.at.09.40.15.mov

Fixed layout on pizza
https://3072.editor.planx.pizza/opensystemslab/listed-building-consent-files

@DafyddLlyr DafyddLlyr force-pushed the dp/fieldset-overflow branch 2 times, most recently from 800ec8a to bb7eac2 Compare April 30, 2024 08:36
Copy link

github-actions bot commented Apr 30, 2024

Removed vultr server and associated DNS entries

@DafyddLlyr DafyddLlyr requested a review from a team April 30, 2024 09:29
@DafyddLlyr DafyddLlyr marked this pull request as ready for review April 30, 2024 09:29
Copy link
Member

@jessicamcinchak jessicamcinchak left a comment

Choose a reason for hiding this comment

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

Thanks for getting to the bottom of this one!

@DafyddLlyr DafyddLlyr merged commit 7a9a1f2 into main May 1, 2024
12 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/fieldset-overflow branch May 1, 2024 10:30
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.

2 participants