Improve layering for chat

Currently we have a lot of unnecessary layers being created in the app,
which is extremely problematic on Windows when using Chrome, as it
deoptimises fonts rendering due to layers mismatch; chrome's algorithm
can't figure out if the layers won't resize or overlap so it creates a
lot of additional layers, which has a side effect of turning off
sub-pixel antialiasing on Windows.
This is a first step to improve the layering in the entire app.
This commit is contained in:
Dariusz Niemczyk 2021-08-19 19:00:31 +02:00
parent b5f377d543
commit 798da0f5fa
No known key found for this signature in database
GPG key ID: 3E8DC619E3C59A05
3 changed files with 5 additions and 1 deletions

View file

@ -15,6 +15,7 @@ limitations under the License.
*/
.mx_ScrollPanel {
contain: strict;
.mx_RoomView_MessageList {
position: relative;