Skip to content

Conversation

thecrypticace
Copy link
Contributor

@thecrypticace thecrypticace commented Nov 19, 2024

This fixes the negative versions of rotate:
-rotate-y-*, -rotate-x-*, and -rotate-z-*

They were producing CSS like --tw-rotate-x: calc(rotateX(Xdeg) * -1) instead of --tw-rotate-x: rotateX(calc(Xdeg * -1)). This fixes all of those. The skew utilities have a similar structure but were already handled correctly.

@thecrypticace thecrypticace marked this pull request as ready for review November 19, 2024 19:59
@thecrypticace thecrypticace requested a review from a team as a code owner November 19, 2024 19:59
@thecrypticace thecrypticace merged commit a83b02b into next Nov 19, 2024
1 check passed
@thecrypticace thecrypticace deleted the fix/v4-rotate-negative branch November 19, 2024 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants