Skip to content

Order of top/right/bottom/left broke after upgrading from tailwindcss 3.2.7 to 3.3.1 #147

Closed
@kachkaev

Description

@kachkaev

What version of prettier-plugin-tailwindcss are you using?

v0.2.6

What version of Tailwind CSS are you using?

v3.3.1

What version of Node.js are you using?

v18.15.0

What package manager are you using?

pnpm

What operating system are you using?

macOS

Reproduction URL

kachkaev/website#7

Describe your issue

I am using tailwindcss and prettier-plugin-tailwindcss in a side project that does automatic dependency updates with Renovate. When the bot updated tailwindcss, prettier --check failed in CI. For some reason, the order of top / right / bottom / left (user-defined, usually clockwise) changed to bottom / left / right / top (alphabetical). I would be less surprised by this if the change was caused by an update of prettier-plugin-tailwindcss, but either way, I find it a bit confusing and potentially wrong. Here is a diff I have got by running prettier --write: kachkaev/website@eb01256. I find before more attractive and clear than after.

Feel free to close this issue if the change is intended. I must have missed the CHANGELOG item somewhere then. Still new to Tailwind!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions