From 8d72cb141630f9751871d3741fa987683809e33b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Astori?= Date: Sun, 18 Mar 2018 03:00:49 -0400 Subject: [PATCH] Remove transition on `box-shadow` as it affects performance (and is not _that_ noticeable) --- client/css/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index 5e1a0061..19c85ab8 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -2274,7 +2274,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ position: absolute; left: -220px; z-index: 2; - transition: transform 160ms, box-shadow 160ms; + transition: transform 160ms; transform: translateZ(0); } @@ -2302,7 +2302,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */ #viewport.menu-dragging #sidebar-overlay, #viewport.menu-dragging #sidebar { - transition: box-shadow 160ms; + transition: none; } #viewport.menu-open #sidebar,