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

Make the registration page scrollable for small screens #23771

Closed
wants to merge 1 commit into from
Closed

Make the registration page scrollable for small screens #23771

wants to merge 1 commit into from

Conversation

jplatte
Copy link

@jplatte jplatte commented Nov 15, 2022

Fixes #19548.

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

Do I need to sign off as an Element employee? ^^


This PR currently has none of the required changelog labels.

Add one of: T-Deprecation, T-Enhancement, T-Defect, T-Task to indicate what type of change this is plus X-Breaking-Change if it's a breaking change.

@jplatte jplatte requested a review from a team as a code owner November 15, 2022 11:30
@@ -60,7 +60,7 @@
</head>
<body style="height: 100%; margin: 0;">
<noscript>Sorry, Element requires JavaScript to be enabled.</noscript> <!-- TODO: Translate this? -->
<section id="matrixchat" style="height: 100%;" class="notranslate"></section>
<section id="matrixchat" style="height: 100%; overflow-y: auto" class="notranslate"></section>
Copy link
Member

Choose a reason for hiding this comment

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

We shouldn't be applying any rules here beyond what is necessary, especially as whole-page scrolling for what is nominally a full screen app is a bad time. The rule should be applied to the smallest effect needed, in the very components it affects. This will likely also break overscroll bounce on OSX and iOS as per the comment in the style file. Such a change could also really benefit from Percy testing.

image

@jplatte
Copy link
Author

jplatte commented Nov 15, 2022

Learned that this is the index.html for everything, fix needs to make sure to only apply to reg page (or be conditional on #matrixchat currently containing the registration page). I'm out at this point.

@jplatte jplatte closed this Nov 15, 2022
@jplatte jplatte deleted the fix-reg-small-screens branch November 15, 2022 11:37
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.

Authentication screens lack scrollbar for very low resolution displays
3 participants