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

Make visible titles from the control bar on hover #1074

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidbgk
Copy link
Contributor

@davidbgk davidbgk commented May 1, 2023

This is an attempt at making labels of buttons from the control bar more explicit when hovering (it reuses the title attribute of these links).

umap-titles-hover

@yohanboniface
Copy link
Member

yohanboniface commented May 1, 2023

It's a bit broken when the button has a border-radius. Should we style the right border of the title element to make it like an arrow or something ?

@davidbgk
Copy link
Contributor Author

davidbgk commented May 1, 2023

For the border radius, we can fake the junction with a few less px of the negative margin, for the arrow though it will get harder because we are already dealing with an extra element from ::before and no extra markup.

Anyway, that was more a proof of concept to verify it it's useful or not to go down that way.

Also, there will probably be some issues with translations lengths for some verbose languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants