Skip to content

add tooltip to icons #477

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

Merged
merged 2 commits into from
Oct 27, 2017
Merged

add tooltip to icons #477

merged 2 commits into from
Oct 27, 2017

Conversation

mockersf
Copy link
Contributor

@mockersf mockersf commented Oct 27, 2017

fixes #388
added titles to play/copy/reset, expand/collapse and sidebar/theme buttons

@budziq
Copy link
Contributor

budziq commented Oct 27, 2017

@mockersf Very cool! Could you also add tooltips to the next and prev buttons at the bottom of the page?

@mockersf
Copy link
Contributor Author

Oh, didn't see those as there are already tooltips for them in browser, they were only missing in mobile.
I didn't copy the text as they mention using the arrow keys to navigate which may not be available on mobile.

@budziq
Copy link
Contributor

budziq commented Oct 27, 2017

back. Hmm it looks like the links in the navigation buttons are duplicated and the tooltips are set on the second pair of links which leaves the buttons without tooltips on chromium and firefox (both on linux)

@mockersf
Copy link
Contributor Author

Yes, the mobile-nav-chapters class is displayed instead of nav-chapters if screen is less than 1250px wide. Both sets of links should have the title now.

@budziq budziq merged commit aecc403 into rust-lang:master Oct 27, 2017
@budziq
Copy link
Contributor

budziq commented Oct 27, 2017

Thanks @mockersf !

Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
add tooltip to icons and previous/next chapter links
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.

Add tooltips to code buttons
2 participants