From dfe4b2f6d61e5242fad33d0ff3a08e8b58f4e8a2 Mon Sep 17 00:00:00 2001 From: William Boman Date: Thu, 28 Dec 2017 13:46:55 +0100 Subject: [PATCH] fix animation jitter when clicking join channel button --- client/css/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/css/style.css b/client/css/style.css index a153fd31..ef1eaf17 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -668,7 +668,8 @@ kbd { } #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 {