We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
[type='file']:focus
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
v0.5.0
v16.13.2
Chrome
macOS
https://github.com/tailwindlabs/tailwindcss-forms
There is a duplicate key issue with style objects in https://github.com/tailwindlabs/tailwindcss-forms/blob/master/src/index.js#L280
This can cause some of the styles to not be included in final css output. For more context, see similar issue here:
A possible fix would be to separate them into different array items, such as:
tailwindcss-forms % git diff diff --git a/src/index.js b/src/index.js index ee60f72..d5c5da4 100644 --- a/src/index.js +++ b/src/index.js @@ -278,6 +278,12 @@ const forms = plugin.withOptions(function (options = { strategy: undefined }) { class: null, styles: { outline: `1px solid ButtonText`, + }, + }, + { + base: [`[type='file']:focus`], + class: null, + styles: { outline: `1px auto -webkit-focus-ring-color`, }, },
The text was updated successfully, but these errors were encountered:
outline
Successfully merging a pull request may close this issue.
What version of @tailwindcss/forms are you using?
v0.5.0
What version of Node.js are you using?
v16.13.2
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction repository
https://github.com/tailwindlabs/tailwindcss-forms
Describe your issue
There is a duplicate key issue with style objects in https://github.com/tailwindlabs/tailwindcss-forms/blob/master/src/index.js#L280
This can cause some of the styles to not be included in final css output. For more context, see similar issue here:
A possible fix would be to separate them into different array items, such as:
The text was updated successfully, but these errors were encountered: