Skip to content

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
Copy link

Copilot AI left a 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.

}

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.

justify-content: center;

@include mq-is-col1 {
&.view {
Copy link
Collaborator

Choose a reason for hiding this comment

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

that only works when you ask to see the solution. Not when you find it yourself.

@ornicar ornicar merged commit 2b24734 into lichess-org:master Mar 12, 2025
2 checks passed
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