-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
base: master
Are you sure you want to change the base?
Conversation
Added max-width to body.authpage .content, this should prevent it from using the whole screen width.
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. 🚀 New features to boost your workflow:
|
There was a problem hiding this 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; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
Fixes: https://github.com/mysociety/societyworks/issues/4078
Preview:
Screen.Recording.2025-03-04.at.13.51.31.mov