Fix iconbutton styling for keyboard navigation

This commit is contained in:
jeffvli
2021-09-21 17:01:37 -07:00
parent 3e66c6a8c2
commit 3dcf1b2aeb

View File

@@ -102,10 +102,8 @@ export const StyledIconButton = styled(IconButton)`
color: ${(props) =>
props.appearance === 'subtle' ? props.theme.primary.main : undefined};
}
i {
background-color: ${(props) =>
props.appearance === 'primary' ? props.theme.primary.main : undefined};
}
background-color: ${(props) =>
props.appearance === 'primary' ? props.theme.primary.main : undefined};
width: ${(props) => `${props.width}px`};
`;