Skip to content

Commit

Permalink
fix(angles-preview): try fix laggy menu opening transition
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentinTh committed Aug 15, 2023
1 parent 8c46390 commit f854610
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ main.content {
}

main.content.open {
transform: translateX(250px);
transform: translate3d(250px, 0, 0);
box-shadow: 0 0 50px rgb(0 0 0 / 20%);
will-change: transform;
}

main.content section.wrapper {
Expand Down

0 comments on commit f854610

Please sign in to comment.