Skip to content

Limit the max-width for sign-in form on mobile #5392

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lucascumsille
Copy link
Contributor

Fixes: https://github.com/mysociety/societyworks/issues/4078

Preview:

Screen.Recording.2025-03-04.at.13.51.31.mov

Added max-width to body.authpage .content, this should prevent it from using the whole screen width.
Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.45%. Comparing base (aa1283b) to head (04fc365).
Report is 134 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5392      +/-   ##
==========================================
+ Coverage   82.42%   83.45%   +1.03%     
==========================================
  Files         417      428      +11     
  Lines       33125    36919    +3794     
  Branches     5340     6240     +900     
==========================================
+ Hits        27302    30810    +3508     
- Misses       4234     4447     +213     
- Partials     1589     1662      +73     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@lucascumsille lucascumsille requested a review from dracos March 4, 2025 14:11
Copy link
Member

@dracos dracos left a comment

Choose a reason for hiding this comment

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

One query about the width is all :)

@@ -462,6 +462,7 @@ a.platform-logo {
body.authpage {
.content {
width: 27em;
max-width: 27em;
Copy link
Member

Choose a reason for hiding this comment

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

Can we drop the width line then; don't think it needs both?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dracos I just did =), let me know if you are happy for me to merge

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