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
[v4] Chrome ~v103 chokes on comma in .bg-gradient-* Utility #13659
Comments
This is an issue with the older browsers. I believe tailwind before would put a comment in there like if you try .bg-gradient-to-r {
background-image: linear-gradient(to right, var(--tw-gradient-stops, ));
} you should see that that works as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tailwind Version:
next
using Vite pluginI've been using Tailwind to design overlays in OBS Studio for years now. Recently decided to take the jump and try
next
. Ran into an odd problem in which none of my definedbg-gradient-*
styles would show up in OBS' browser source."Offending" line: https://github.com/tailwindlabs/tailwindcss/blame/5e737d858755a7149e17b5f3feaeb0d42865354d/packages/tailwindcss/src/utilities.ts#L2490
Taking the example code from the documentation:
Inspecting
.bg-gradient-to-r
in Chrome 124:Inspecting
.bg-gradient-to-r
in Chromium 103.0.5060.134 (OBS Studio's version):The comma persists in the older version of Chromium, which breaks the style. Removing the comma manually fixed it. I don't file issues all that often, so I'm not sure if this is an actual bug with tailwind@next, or if I should be heading over to OBS to try to get them to upgrade their Chromium version.
Either way, please let me know if anything further is needed!
The text was updated successfully, but these errors were encountered: