Skip to content

Commit

Permalink
changed rotation origin
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickDeVries committed Oct 8, 2021
1 parent 9a3f86b commit 4d2ca3b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/StepProgress/StepProgress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ export const Container = styled(Div)`
`
: ''
}
${vertical ? 'transform: rotate(90deg);' : ''}
${vertical ? `
transform-origin: top left;
transform: translateX(50%) rotate(90deg);
` : ''}
`}
`;

Expand Down

0 comments on commit 4d2ca3b

Please sign in to comment.