Skip to content

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.

2 participants