Skip to content

fix(css): Adjust split layout content width#19937

Merged
LZoog merged 1 commit intomainfrom
FXA-12794
Jan 26, 2026
Merged

fix(css): Adjust split layout content width#19937
LZoog merged 1 commit intomainfrom
FXA-12794

Conversation

@LZoog
Copy link
Copy Markdown
Contributor

@LZoog LZoog commented Jan 24, 2026

Because:

  • Not having an explicit width on the split layout content is causing content sizing variations depending on how long the headline is

This commit:

  • Adds an explicit width at desktop and above and moves padding/margin inward to better match the existing .card component

fixes FXA-12794


The first point of the issue was already addressed in another ticket.

For the second point, the split layout content appears to shift in width from email-first to signin. This happens because the email-first headline is much longer than the signin page headline, so the button and entire content grows. This fix still allows tablet content to shink in size which keeps the split layout 50/50 but keeps the width consistent at desktop and above, and also uses the same inner padding as .card so the content widths match.

Because:
* Not having an explicit width on the split layout content is causing content sizing variations depending on how long the headline is

This commit:
* Adds an explicit width at desktop and above and moves padding/margin inward to better match the existing .card component

fixes FXA-12794
@LZoog LZoog requested a review from a team as a code owner January 24, 2026 00:06
@LZoog LZoog changed the title fix(css): Adjust split layout width fix(css): Adjust split layout content width Jan 24, 2026
Copy link
Copy Markdown
Contributor

@vpomerleau vpomerleau left a comment

Choose a reason for hiding this comment

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

This change looks good to me, the width is now consistent across pages. I wasn't able to reproduce the issue you mentioned about top content being cutoff in some window configurations.

@LZoog LZoog merged commit c7b8e74 into main Jan 26, 2026
21 checks passed
@LZoog LZoog deleted the FXA-12794 branch January 26, 2026 15: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.

2 participants