mirror of https://github.com/mastodon/mastodon
Add will-change to improve scrolling perf (#5001)
This commit is contained in:
parent
6db034a866
commit
3d640dc8ac
|
@ -1587,6 +1587,7 @@
|
|||
overflow-x: hidden;
|
||||
flex: 1 1 auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
will-change: transform; // improves perf in mobile Chrome
|
||||
|
||||
&.optionally-scrollable {
|
||||
overflow-y: auto;
|
||||
|
|
Loading…
Reference in New Issue