-
Notifications
You must be signed in to change notification settings - Fork 485
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
Fix mispositioned active link indicator #6880
Fix mispositioned active link indicator #6880
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for care-egov-staging ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Video upload is failing. I'll update description with video recording later. Edit: Done. |
@Omkar76 marking it for discussion, the link width is increased, which seems a little bit weird to me, for taking others opinion |
d8f655e
to
4790327
Compare
As discussed, changes have been made so as to not affect height of indicator at default fonts. I've added video to show the same. height of indicator is relative to link. It takes 26% of height of link and is vertically centered. |
LGTM |
@Omkar76 We truly appreciate your efforts. Thank you for taking the time to contribute; this is a very valuable contribution to us 🥇. We always welcome your contribution 🙂, so feel free to contribute to anything anytime, and never lose that spirit of innovation 🙌. |
* Fix mispositioned active link indicator * Make indicator height 26% of link element height. * Extract 'navItemCount' as variable
Proposed Changes
top
andbottom
style of indicator when navigating.top
and thenbottom
after 50ms to see the transition in height happen.bottom
and thenup
.@coronasafe/care-fe-code-reviewers @coronasafe/code-reviewers
Merge Checklist
30px
12px
indicator-.4.webm