From 2b60cccc536a8184d6b710529b1d3244278bf7d8 Mon Sep 17 00:00:00 2001 From: Art Tosborvorn Date: Wed, 15 Dec 2021 12:46:01 +0700 Subject: [PATCH] Remove scrollbar in PanelsContainer Change `overflow-y` from `scroll` to `auto` to hide the scroll bar when not needed. --- src/components/main/styles.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/main/styles.js b/src/components/main/styles.js index e2f4a9fc5..b0a7ab245 100644 --- a/src/components/main/styles.js +++ b/src/components/main/styles.js @@ -11,7 +11,7 @@ export const PanelsContainer = styled.div` height: ${(props) => props.height+"px"}; width: ${(props) => props.width+"px"}; overflow-x: hidden; - overflow-y: scroll; + overflow-y: auto; left: ${(props) => props.left+"px"}; `;