-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 Missing Learn from Mistakes Next button on Mobile #17052
base: master
Are you sure you want to change the base?
Fix Missing Learn from Mistakes Next button on Mobile #17052
Conversation
The next button is way too low to be displayed on most screens, I assume. It should be displayed alongside "Good move" instead of below it. |
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.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
@@ -77,7 +77,7 @@ body { | |||
margin: $analyse-block-gap 0 0 0; | |||
} | |||
|
|||
grid-template-rows: auto auto auto minmax(20em, 30vh); | |||
grid-template-rows: auto auto auto minmax(20em, 36vh); |
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.

In the firefox dev tools, I picked iPhone SE 2nd gen in device selector and saw this. Choosing a maximum height for this grid area that scales based on viewport height when the div is not scrollable might not be best, but adding another nested scrolling area clearly isn't preferable. So not sure how to fix besides bumping up this number or changing its units. Looks like 40vh
works all right.
Summary
Increases the height row height of the analyse tools grid so that the Next button is visible on mobile with 5 engine lines enabled.
Before
After