Skip to content

Make visible titles from the control bar on hover - #1074

Draft
davidbgk wants to merge 1 commit into
masterfrom
explicit-titles-on-hover
Draft

Make visible titles from the control bar on hover#1074
davidbgk wants to merge 1 commit into
masterfrom
explicit-titles-on-hover

Conversation

@davidbgk

@davidbgk davidbgk commented May 1, 2023

Copy link
Copy Markdown
Contributor

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

yohanboniface commented May 1, 2023

Copy link
Copy Markdown
Member

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

davidbgk commented May 1, 2023

Copy link
Copy Markdown
Contributor Author

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