Skip to content

Commit

Permalink
Remove scrollbar in PanelsContainer
Browse files Browse the repository at this point in the history
Change `overflow-y` from `scroll` to `auto` to hide the scroll bar when not needed.
  • Loading branch information
artt authored Dec 15, 2021
1 parent d8b3d2a commit 2b60ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/main/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"};
`;

Expand Down

0 comments on commit 2b60ccc

Please sign in to comment.