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

Fixed broken "Scala 3" sub menu on mobile #2971

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

Dieken
Copy link
Contributor

@Dieken Dieken commented Feb 14, 2024

CSS doesn't support id selector containing whitespace, see

$(".doc-navigation-submenus #" + submenuId).toggle();

@Dieken
Copy link
Contributor Author

Dieken commented Feb 23, 2024

CI failure isn't caused by this PR.

Copy link
Member

@bishabosha bishabosha left a comment

Choose a reason for hiding this comment

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

Thank you for taking the time to contribute here!

confirming that I can indeed click the menu item now on narrow screens. I tried to see if there could be a clash with scala3 ids elsewhere, but I think it's safe.

Another option could be replace with __, _ or - possibly?

@bishabosha bishabosha merged commit ffe5096 into scala:main Feb 23, 2024
1 check failed
@Dieken
Copy link
Contributor Author

Dieken commented Feb 23, 2024

Another option could be replace with __, _ or - possibly?

All are fine, the js script doesn’t hard code the id, I prefer simple word “scala3”.

Thanks for your merging!

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.

2 participants