feature: fix background color of dropdown item to be fully transparent

This commit is contained in:
Sammy Teillet
2023-04-24 15:39:17 +02:00
parent 4e3acf21d2
commit 19385e00c0

View File

@ -71,12 +71,12 @@ const StyledDropdownItem = styled.li`
padding: ${(props) => props.theme.spacing(2)} padding: ${(props) => props.theme.spacing(2)}
calc(${(props) => props.theme.spacing(2)} - 2px); calc(${(props) => props.theme.spacing(2)} - 2px);
margin: 2px; margin: 2px;
background: ${(props) => props.theme.primaryBackground}; background: rgba(0, 0, 0, 0);
cursor: pointer; cursor: pointer;
color: ${(props) => props.theme.text60}; color: ${(props) => props.theme.text60};
&:hover { &:hover {
filter: brightness(0.95); background: rgba(0, 0, 0, 0.04);
} }
`; `;