Skip to content
This repository was archived by the owner on Feb 23, 2022. It is now read-only.
This repository was archived by the owner on Feb 23, 2022. It is now read-only.

RTL flipping does not handle transform, linear-gradient properties #140

@akbertram

Description

@akbertram

When flipping CSS from LTR to RTL, the transform property also needs to be mirrored, mostly by reversing the sign of translations and rotations:

transform: translateX(35px);

should become:

transform: translateX(-35px);

And

 background-image: linear-gradient(45deg, #00CF79 0%, #00cfcd 100%);

should become:

 background-image: linear-gradient(-45deg, #00CF79 0%, #00cfcd 100%);

Is there perhaps a fix for this upstream, or would you be open to a PR?

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