Tailwindcss 4 the textaread and textfield (input) has offset on highlight broder #18986
Unanswered
lucasjinreal
asked this question in
Help
Replies: 1 comment 1 reply
-
The “offset” comes from focus:ring. If you don’t want that jump, just remove the transparent border trick and keep a consistent border color. Example:
This way, the border changes color on focus, but there’s no weird offset. If you still want the glow effect, add:
Hope that helps! :) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
how t oresolve this?
Beta Was this translation helpful? Give feedback.
All reactions