Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
feat(sidebar): 💄 left sidebar scrollbar should be visible only on hover
Browse files Browse the repository at this point in the history
  • Loading branch information
filipowm committed Jul 3, 2020
1 parent 7ff0676 commit 65c62a0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/Sidebar/Sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ const SidebarMain = styled.div`
padding: 0;
padding-top: 32px;
overflow-x: hidden;
overflow-y: overlay;
-webkit-overflow-scrolling: touch;
overflow-y: hidden;
-webkit-overflow-scrolling: hidden;
&:hover, &:focus {
overflow-y: overlay;
-webkit-overflow-scrolling: touch;
}
`;

const PoweredByWrapper = styled.div`
Expand Down

0 comments on commit 65c62a0

Please sign in to comment.