Remove transition on box-shadow as it affects performance (and is not _that_ noticeable)

This commit is contained in:
Jérémie Astori 2018-03-18 03:00:49 -04:00
parent 8100f98d6b
commit 8d72cb1416
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8

View File

@ -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,