mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2025-04-03 09:45:29 +02:00
Improved animation performance
This commit is contained in:
parent
f9331a1644
commit
7a49ec7179
1 changed files with 5 additions and 2 deletions
7
resources/assets/styles/layout.less
vendored
7
resources/assets/styles/layout.less
vendored
|
@ -330,12 +330,15 @@ header {
|
|||
.sidebar {
|
||||
left: -160px;
|
||||
transition: transform 0.5s ease;
|
||||
transform: translateX(0px);
|
||||
transform: translateX(0px) translateZ(0);
|
||||
perspective: 1000;
|
||||
backface-visibility: hidden;
|
||||
will-change: transform;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.sidebar.active {
|
||||
transform: translateX(160px);
|
||||
transform: translateX(160px) translateZ(0);
|
||||
}
|
||||
|
||||
.user-details > .avatar > span {
|
||||
|
|
Loading…
Add table
Reference in a new issue