Normalize sidebar style

This commit is contained in:
Tom Moor 2021-04-18 21:52:54 -07:00
parent 3569d2fee7
commit 04b8d7ae7b
1 changed files with 5 additions and 4 deletions

View File

@ -68,18 +68,19 @@ const Wrapper = styled.div`
const Header = styled.button`
display: flex;
align-items: center;
padding: 20px 24px;
background: none;
line-height: inherit;
border: 0;
margin: 0;
padding: 8px;
margin: 8px;
border-radius: 4px;
cursor: pointer;
width: 100%;
width: calc(100% - 16px);
&:active,
&:hover {
transition: background 100ms ease-in-out;
background: rgba(0, 0, 0, 0.05);
background: ${(props) => props.theme.sidebarItemBackground};
}
`;