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

Display "view" button if challenge has rules #15600

Conversation

bastianpedersen
Copy link
Contributor

@bastianpedersen bastianpedersen commented Jun 25, 2024

Closes #15582.

One thing I am not sure about is the styling of the button. At the moment it only has a pointer cursor if hovered. We probably need to add some styling to this.

CleanShot.2024-06-25.at.10.36.28.mp4

@bastianpedersen bastianpedersen marked this pull request as ready for review June 25, 2024 08:37
bastianpedersen and others added 5 commits June 25, 2024 10:40
@ornicar
Copy link
Collaborator

ornicar commented Jun 25, 2024

Nice, but the view button should look more clickable. Maybe color: $c-primary? And maybe some :hover fanciness.

@bastianpedersen
Copy link
Contributor Author

Nice, but the view button should look more clickable. Maybe color: $c-primary? And maybe some :hover fanciness.

What do you think about this? My ":hover fanciness" is quite lacking, so I just resorted on bumping the font-size 😅.

CleanShot.2024-06-25.at.21.05.29.mp4

@ornicar ornicar merged commit f725c2a into lichess-org:master Jun 27, 2024
2 checks passed
@bastianpedersen bastianpedersen deleted the if-challenge-has-rules-dont-accept-immediately branch June 30, 2024 08:38
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.

challenge with rules: don't accept immediately, go to challenge page first
2 participants