Browse Source

Fix iconbutton styling for keyboard navigation

master
jeffvli 3 years ago
parent
commit
3dcf1b2aeb
  1. 6
      src/components/shared/styled.ts

6
src/components/shared/styled.ts

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

Loading…
Cancel
Save