Skip to content

Commit

Permalink
remove scrollbar in sidebar items
Browse files Browse the repository at this point in the history
  • Loading branch information
blackforestboi committed Dec 28, 2022
1 parent 9c098c5 commit 2dc788c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/options/components/navigation/NavLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,17 @@ const RouteItem = styled.li<{ name: string; isActive: boolean }>`
margin: 0 10px;
border-radius: 5px;
&::-webkit-scrollbar {
display: none;
}
scrollbar-width: none;
${(props) =>
props.isActive &&
css`
overflow: scroll;
background-color: ${(props) => props.theme.colors.activeBackground};
background-color: ${(props) => props.theme.colors.darkhover};
&:hover {
outline: 1px solid ${(props) => props.theme.colors.lightHover};
Expand Down

0 comments on commit 2dc788c

Please sign in to comment.