fix: Various extra scrollbars when not using mac-style overlaying scrollbars (#1242)

* fix: Various extra scrollbars when not using mac-style overlaying scrollbars

* Sidebar z-index
This commit is contained in:
Tom Moor
2020-04-24 18:44:21 -07:00
committed by GitHub
parent 6db92c9f49
commit 870b91f17a
5 changed files with 6 additions and 7 deletions

View File

@@ -133,7 +133,8 @@ const Wrapper = styled(Flex)`
right: 0;
z-index: 1;
min-width: ${props => props.theme.sidebarWidth};
overflow: scroll;
height: 100%;
overflow-y: auto;
overscroll-behavior: none;
`;
@@ -141,8 +142,6 @@ const Sidebar = styled(Flex)`
background: ${props => props.theme.background};
min-width: ${props => props.theme.sidebarWidth};
border-left: 1px solid ${props => props.theme.divider};
overflow: scroll;
overscroll-behavior: none;
z-index: 1;
`;