From a9d9392d8cdf644031e0ed5f1bef650d70a3c688 Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Mon, 15 May 2023 10:57:58 +0200 Subject: [PATCH] [Perf] Middle Column: Fix chat opening animation performance on mobile (#3179) --- src/styles/index.scss | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/styles/index.scss b/src/styles/index.scss index 0a36f219c..c6b9463f6 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -112,17 +112,22 @@ body.cursor-ew-resize { } .resize-handle { + position: fixed; display: none; - position: absolute; top: 0; left: 0; - bottom: 0; - width: 0.25rem; - z-index: var(--z-resize-handle); - cursor: var(--custom-cursor, ew-resize); + width: 0; + height: 0; + z-index: -1; @media (min-width: 926px) { + position: absolute; display: block; + height: auto; + bottom: 0; + width: 0.25rem; + z-index: var(--z-resize-handle); + cursor: var(--custom-cursor, ew-resize); } }