From 38f2dd7a6592700bec472e2978132c07ad1d1e32 Mon Sep 17 00:00:00 2001 From: Ion Andrusciac Date: Thu, 4 Apr 2024 11:13:21 +0300 Subject: [PATCH] Review fixes --- packages/ui/VirtualList/UiVirtualList.module.less | 7 ++----- packages/ui/VirtualList/VirtualList.module.less | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/packages/ui/VirtualList/UiVirtualList.module.less b/packages/ui/VirtualList/UiVirtualList.module.less index 6a6a79d537..f2029436f8 100644 --- a/packages/ui/VirtualList/UiVirtualList.module.less +++ b/packages/ui/VirtualList/UiVirtualList.module.less @@ -5,6 +5,8 @@ height: 100%; width: 100%; overflow: hidden; + /* hide native scrollbar */ + scrollbar-width: none; &.vertical { overflow-y: scroll; @@ -26,11 +28,6 @@ } } -.virtualList { - /* hide native scrollbar */ - scrollbar-width: none; -} - /* to be removed after chrome version 121 */ .virtualList::-webkit-scrollbar { display: none; diff --git a/packages/ui/VirtualList/VirtualList.module.less b/packages/ui/VirtualList/VirtualList.module.less index 41b34a0193..c41ca2159c 100644 --- a/packages/ui/VirtualList/VirtualList.module.less +++ b/packages/ui/VirtualList/VirtualList.module.less @@ -5,6 +5,8 @@ height: 100%; width: 100%; overflow: hidden; + /* hide native scrollbar */ + scrollbar-width: none; .content { will-change: transform; @@ -34,11 +36,6 @@ will-change: transform; } -.virtualList { - /* hide native scrollbar */ - scrollbar-width: none; -} - /* to be removed after chrome version 121 */ .virtualList::-webkit-scrollbar { display: none;