We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
text-blue-gray-500
sm:text-sm
Describe the bug Doesn't sort if I put regular className like text-blue-gray-500 in the end after the prefixed one sm:text-sm.
className
To Reproduce I have the following className in React:
<div className="block w-full px-3 py-2 mb-2 bg-white border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm">Hello</div>
If I put it text-blue-gray-500 in the end like:
<div className="block w-full px-3 py-2 mb-2 bg-white border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm text-blue-gray-500">Hello</div>
Then it doesn't sort it. But if I put it before the last prefixed one, which in this case is focus:outline-none, then it sorts perfectly.
focus:outline-none
Expected behavior It should sort even if I put the non-prefixed className in the end.
Additional context
const colors = require('tailwindcss/colors') module.exports = { purge: ['./src/**/*.{ts,tsx}'], darkMode: false, // or 'media' or 'class' theme: { extend: { colors: { 'blue-gray': colors.blueGray, }, }, }, variants: { extend: {}, }, plugins: [], }
The text was updated successfully, but these errors were encountered:
focus:
md:
No branches or pull requests
Describe the bug
Doesn't sort if I put regular
className
liketext-blue-gray-500
in the end after the prefixed onesm:text-sm
.To Reproduce
I have the following
className
in React:If I put it
text-blue-gray-500
in the end like:Then it doesn't sort it. But if I put it before the last prefixed one, which in this case is
focus:outline-none
, then it sorts perfectly.Expected behavior
It should sort even if I put the non-prefixed
className
in the end.Additional context
tailwind.config.js
The text was updated successfully, but these errors were encountered: