From f7b409946a345b1342faad6590d673ce67f14fb9 Mon Sep 17 00:00:00 2001 From: Pavel Meyer Date: Wed, 29 Nov 2023 15:09:51 +0300 Subject: [PATCH] CW-2355 Fixed flickering --- .../components/Scrollbar/Scrollbar.module.scss | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/shared/layouts/SidenavLayout/components/SidenavContent/components/Scrollbar/Scrollbar.module.scss b/src/shared/layouts/SidenavLayout/components/SidenavContent/components/Scrollbar/Scrollbar.module.scss index 0c33878853..52901cf672 100644 --- a/src/shared/layouts/SidenavLayout/components/SidenavContent/components/Scrollbar/Scrollbar.module.scss +++ b/src/shared/layouts/SidenavLayout/components/SidenavContent/components/Scrollbar/Scrollbar.module.scss @@ -34,7 +34,9 @@ &:active { --scroll-thumb-color: #{$c-neutrals-300}; } - &:hover { - --scroll-thumb-color: $c-gray-20; + @media (hover: hover) and (pointer: fine) { + &:hover { + --scroll-thumb-color: $c-gray-20; + } } }