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

[style] fix orcid button alignment, less awkward intermediate-width menu #1392

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sneakers-the-rat
Copy link
Contributor

currently the orcid button is out of alignment:

Screenshot 2024-11-01 at 11 35 52 PM

and on the mobile menu is has no horizontal padding. the underlines also extend too low into the neighboring item

Screenshot 2024-11-01 at 11 36 08 PM

So this pr aligns it

Screenshot 2024-11-01 at 11 38 21 PM

and since the horizontal line animation only really works on a horizontal menu, and the only time it's seen is on intermediate widths on desktops/laptops (since tablets/phones don't hover) where we would be scooting a mouse up and down, so i replaced it with a small size animation that has vertical rather than horizontal flow

and also added padding to the orcid button and prevented it from inverting color on hover since it was the only thing to do that

vertical-menu.mp4

@sneakers-the-rat sneakers-the-rat changed the title fix orcid button alignment, less awkward intermediate-width menu [style] fix orcid button alignment, less awkward intermediate-width menu Nov 2, 2024
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.

1 participant