mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-24 18:13:42 +01:00
Add will-change to improve scrolling perf (#5001)
This commit is contained in:
parent
6db034a866
commit
3d640dc8ac
1 changed files with 1 additions and 0 deletions
|
@ -1587,6 +1587,7 @@
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
will-change: transform; // improves perf in mobile Chrome
|
||||||
|
|
||||||
&.optionally-scrollable {
|
&.optionally-scrollable {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
Loading…
Reference in a new issue