Skip to content

Unable to remove 'focus' style from checkbox #10

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

Closed
AustinShelby opened this issue Nov 19, 2020 · 2 comments
Closed

Unable to remove 'focus' style from checkbox #10

AustinShelby opened this issue Nov 19, 2020 · 2 comments

Comments

@AustinShelby
Copy link

Here is an example that shows what's happening: https://play.tailwindcss.com/bz1AKpJywn

I was unable to remove a very subtle white outline (seems to be a box-shadow) from a checkbox even when using classes border-none focus:ring-0 focus:shadow-none.

I only managed to remove it by adding style="box-shadow: none" to the input.

Browser Version
Chromium Version 87.0.4280.66 (Official Build) snap (64-bit)
@AustinShelby
Copy link
Author

Ok dumb mistake I forgot to add ring-offset-0

@CharlesOuverleaux
Copy link

Ok dumb mistake I forgot to add ring-offset-0

God thank you! Found this only after hours of trying to remove this!

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

No branches or pull requests

2 participants