Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhabib committed May 10, 2024
1 parent 6dd7da1 commit d34e82a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Playroom/Toolbar/Toolbar.css.ts
Expand Up @@ -109,7 +109,7 @@ export const preference = sprinkles({
export const transitionStyles = {
enter: style({
opacity: 0,
transform: `translateX(${calc(`${toolbarOpenSize}px`).multiply(0.3)})`,
transform: `translateX(30%)`,
}),
enterActive: style([
sprinkles({
Expand All @@ -133,11 +133,11 @@ export const transitionStyles = {
}),
{
opacity: 0,
transform: `translateX(${calc(`${toolbarOpenSize}px`).multiply(0.3)})`,
transform: `translateX(30%)`,
},
]),
exitDone: style({
opacity: 0,
transform: `translateX(${calc(`${toolbarOpenSize}px`).multiply(0.3)})`,
transform: `translateX(30%)`,
}),
};

0 comments on commit d34e82a

Please sign in to comment.