Open ManuelLeiner opened 2 years ago
I believe this is a known issue. The packaged version of Rustywind is v0.7.1, but Headwind's own implementation matches the behavior of Rustywind v0.6.7 (which I found out the hard way: by testing them all.)
I've manually installed Rustywind v0.6.7 and use it from the command line instead of relying on the one shipped with Headwind.
Describe the bug Sorting the classes of the entire workspace and sorting the classes of a single file (either
format on save
or command) result in different outcome.To Reproduce Steps to reproduce the behavior:
class="inline-flex items-center tracking-wider transition border border-transparent rounded-lg focus:outline-none focus:ring disabled:opacity-25"
Change:class="inline-flex items-center tracking-wider border border-transparent rounded-lg transition focus:outline-none focus:ring disabled:opacity-25"
class="inline-flex items-center tracking-wider transition border border-transparent rounded-lg focus:outline-none focus:ring disabled:opacity-25"
Other example: Format entire workspace: `<div class="py-1 mb-2 text-xs font-bold rounded grid grid-cols-12 bg-grey-300 gap-x-4 text-grey-700"
Expected behavior Both ways of sorting behave the same and do not cancel each other out.
Screenshots I removed all code from our button but the following and the problem still occurs
Format entire workspace:
... and many more
Format on save: All files will be reverted to the original.
Desktop (please complete the following information):