Tailwind CSS, class precedence is not respected
10:19 07 Mar 2023

I have the following element:


All of its class names are generated automatically through the component, except for the last one, min-w-0.

Since min-w-0 is the last class name listed, I expect it to override min-w-[10rem], the 1st class name listed.

However, for some reason, min-w-[10rem] seems to take precedence.

From Chrome dev tools:

enter image description here

Any insights as to why, and how I can fix it?

tailwind-css