fix animation jitter when clicking join channel button

This commit is contained in:
William Boman 2017-12-28 13:46:55 +01:00
parent 313a321918
commit dfe4b2f6d6

View file

@ -668,7 +668,8 @@ kbd {
} }
#sidebar .lobby .add-channel.opened { #sidebar .lobby .add-channel.opened {
transform: rotate(45deg); /* translateZ(0) enables hardware acceleration, this is to avoid jittering when animating */
transform: rotate(45deg) translateZ(0);
} }
#sidebar .chan.active .close { #sidebar .chan.active .close {