Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix negative rotate utilities #15044

Merged
merged 4 commits into from
Nov 19, 2024
Merged

Fix negative rotate utilities #15044

merged 4 commits into from
Nov 19, 2024

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