File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,6 @@ const styles = {
5050 overflowX : 'scroll' ,
5151 overflowY : 'hidden' ,
5252 flexWrap : 'nowrap' ,
53- scrollbarWidth : 'none' /* For modern browsers */ ,
54- msOverflowStyle : 'none' /* For Internet Explorer and Edge */ ,
55- '&::-webkit-scrollbar' : {
56- height : 0 /* For old hrome, Safari, and Opera */ ,
57- } ,
5853 } ,
5954 container : { display : 'flex' , position : 'relative' , width : '100%' } ,
6055 arrowsContainer : {
@@ -182,7 +177,7 @@ const Carousel = ({ items }: Props) => {
182177 < div
183178 style = { {
184179 ...styles . arrowsContainer ,
185- display : isMobile ? 'hidden ' : 'flex' ,
180+ display : isMobile ? 'none ' : 'flex' ,
186181 opacity : isHoveringContainer ? 1 : 0 ,
187182 } }
188183 >
@@ -212,6 +207,7 @@ const Carousel = ({ items }: Props) => {
212207 </ div >
213208 </ div >
214209 < GridList
210+ className = "almost-invisible-scrollbar"
215211 cols = { actualColumnsToDisplay }
216212 style = { styles . gridList }
217213 cellHeight = "auto"
You can’t perform that action at this time.
0 commit comments