Skip to content

Commit

Permalink
fix translate classname
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfahan committed May 31, 2021
1 parent 67eeba9 commit d0357d0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/utilities/transform/_translate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@
properties: transform,
selector: "trans",
values: (
"x-50": translateX(50%),
"x--50": translateX(-50%),
"y-50": translateY(50%),
"y--50": translateY(-50%),
"50-50": translate(50%, 50%),
"-x-50": translateX(50%),
"-x--50": translateX(-50%),
"-y-50": translateY(50%),
"-y--50": translateY(-50%),
"-50-50": translate(50%, 50%),
"--50--50": translate(-50%, -50%),
),
enable-important-values: true
disable-prefix-values-keys: true,
enable-important-values: true,
);

@include generate-style($config);
Expand Down

0 comments on commit d0357d0

Please sign in to comment.