-
Notifications
You must be signed in to change notification settings - Fork 317
fix(MainHeader): button bottom border flicker #1193
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
base: main
Are you sure you want to change the base?
Conversation
|
✅ Deploy Preview for solid-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Feel free to close in favour of #1194 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only concern is that the border color is defined in two places simultaneously, which could lead to conflicts. Currently, border-b-blue-500
is defined after border-transparent
in the Tailwind output CSS file, so it overrides border-transparent
. However, if we change border-transparent
to something else in the future, this could cause some confusion.
I suggest using inactiveClass
to apply border-transparent
only when the link is not active.
Description(required)
Fixes flicker because border starts off being 0px, now it is transparent, so only the color transitions.