Fix header dropdown button style (#9599)

This commit is contained in:
Marie
2025-01-14 12:13:26 +01:00
committed by GitHub
parent 6fc691beb0
commit 35d165dbe9
6 changed files with 44 additions and 29 deletions

View File

@ -20,4 +20,14 @@ export const StyledHeaderDropdownButton = styled.button<StyledDropdownButtonProp
padding-right: ${({ theme }) => theme.spacing(2)};
user-select: none;
background: ${({ theme, isUnfolded }) =>
isUnfolded ? theme.background.transparent.light : theme.background.primary};
&:hover {
background: ${({ theme, isUnfolded }) =>
isUnfolded
? theme.background.transparent.medium
: theme.background.transparent.light};
}
`;