Skip to content

Fix negative rotate utilities#15044

Merged
thecrypticace merged 4 commits intonextfrom
fix/v4-rotate-negative
Nov 19, 2024
Merged

Fix negative rotate utilities#15044
thecrypticace merged 4 commits intonextfrom
fix/v4-rotate-negative

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
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