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

Fix Missing Learn from Mistakes Next button on Mobile #17052

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

Conversation

ChaseNelson
Copy link
Contributor

@ChaseNelson ChaseNelson commented Feb 24, 2025

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

image

After

image

@ornicar
Copy link
Collaborator

ornicar commented Feb 25, 2025

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.

@ornicar ornicar requested review from brollin and Copilot and removed request for brollin February 27, 2025 07:38

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);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Screenshot 2025-02-27 at 3 16 53 PM

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.

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.

Bug: Cannot learn from mistakes with multiple lines set to 5
3 participants