Solidus Version:
4.6.2
To Reproduce
Use a Tailwind text-size class such as text-sm
Current behavior
The class is not recognized by Tailwind, however the text size classes exist as text-body-, for example, text-body-sm
Expected behavior
text-body is a non-standard Tailwind class. The fact that the normal text-size classes don't work caused a huge time sync for me.
Desktop (please complete the following information):
Additional context
I created a basic rails (8.0.4) app and added the tailwindcss-rails gem (latest 3.x). I added a text-sm class to an HTML element and the class was generated correctly.
I still don't understand how this class name change happens in Solidus. In any case it seems to be intentional and it changes the Tailwind API so there should be a good reason and it should be documented.
Solidus Version:
4.6.2
To Reproduce
Use a Tailwind text-size class such as
text-smCurrent behavior
The class is not recognized by Tailwind, however the text size classes exist as
text-body-, for example,text-body-smExpected behavior
text-bodyis a non-standard Tailwind class. The fact that the normal text-size classes don't work caused a huge time sync for me.Desktop (please complete the following information):
Additional context
I created a basic rails (8.0.4) app and added the tailwindcss-rails gem (latest 3.x). I added a
text-smclass to an HTML element and the class was generated correctly.I still don't understand how this class name change happens in Solidus. In any case it seems to be intentional and it changes the Tailwind API so there should be a good reason and it should be documented.