Add hover effect for navbar collapsable button (#492)

This commit is contained in:
Emilien Chauvet
2023-07-04 09:28:32 -07:00
committed by GitHub
parent 5e1fc1ad11
commit d83313cd93
2 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,10 @@ const CollapseButton = styled.button<{ hideOnDesktop: boolean | undefined }>`
align-items: center;
background: inherit;
border: 0;
&:hover {
background: ${({ theme }) => theme.background.quaternary};
}
border-radius: ${({ theme }) => theme.border.radius.md};
color: ${({ theme }) => theme.font.color.light};
cursor: pointer;

View File

@ -15,9 +15,9 @@ const StyledContainer = styled.div`
justify-content: space-between;
margin-left: ${({ theme }) => theme.spacing(1)};
padding: ${({ theme }) => theme.spacing(2)};
padding-right: ${({ theme }) => theme.spacing(1)};
padding-top: ${({ theme }) => theme.spacing(1)};
user-select: none;
width: 100%;
`;
const LogoAndNameContainer = styled.div`