Skip to content

Commit 8a1939e

Browse files
committed
Set will-change on slideouts
1 parent 994345a commit 8a1939e

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

src/web/assets/cp/dist/css/craft.css

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/assets/cp/dist/css/craft.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/web/assets/cp/src/css/_main.scss

+3
Original file line numberDiff line numberDiff line change
@@ -3606,6 +3606,7 @@ ul.tree,
36063606
height: 100%;
36073607
left: 0;
36083608
transition: top linear 250ms;
3609+
will-change: top;
36093610
}
36103611

36113612
&:not(.so-mobile) {
@@ -3616,9 +3617,11 @@ ul.tree,
36163617

36173618
body.ltr & {
36183619
transition: left linear 250ms;
3620+
will-change: left;
36193621
}
36203622
body.rtl & {
36213623
transition: right linear 250ms;
3624+
will-change: right;
36223625
}
36233626
}
36243627
}

0 commit comments

Comments
 (0)