From 23ab91688d10d36defff5fc1d3a05a6c17400342 Mon Sep 17 00:00:00 2001 From: mattyl006 Date: Fri, 15 Jul 2022 11:13:00 +0200 Subject: [PATCH] webkit scrollbar display none --- src/components/elements/FiltersMenu/FiltersMenu.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/elements/FiltersMenu/FiltersMenu.js b/src/components/elements/FiltersMenu/FiltersMenu.js index a8b57c6..e281de5 100644 --- a/src/components/elements/FiltersMenu/FiltersMenu.js +++ b/src/components/elements/FiltersMenu/FiltersMenu.js @@ -11,7 +11,7 @@ const FiltersMenuStyle = styled(FlexColumn)` position: fixed; top: 0; right: 0; - overflow-y: scroll; + overflow-y: auto; width: 260px; height: 100vh; max-height: 650px; @@ -22,6 +22,10 @@ const FiltersMenuStyle = styled(FlexColumn)` transition: transform 0.5s ease-in-out; z-index: 3; + ::-webkit-scrollbar { + display: none; + } + @media (min-width: ${({theme}) => theme.overMobile}) { width: 310px; max-height: none;