refactor(striker-ui): remove extra root CSS class on Anvils/SelectedAnvil

main
Tsu-ba-me 3 years ago
parent 96f1d0db59
commit 24b0708284
  1. 5
      striker-ui/components/Anvils/SelectedAnvil.tsx

@ -11,16 +11,13 @@ import putFetch from '../../lib/fetchers/putFetch';
const PREFIX = 'SelectedAnvil';
const classes = {
root: `${PREFIX}-root`,
anvilName: `${PREFIX}-anvilName`,
};
const StyledBox = styled(Box)(() => ({
[`&.${classes.root}`]: {
display: 'flex',
flexDirection: 'row',
width: '100%',
},
[`& .${classes.anvilName}`]: {
paddingLeft: 0,
@ -55,7 +52,7 @@ const SelectedAnvil = ({ list }: { list: AnvilListItem[] }): JSX.Element => {
);
return (
<StyledBox className={classes.root}>
<StyledBox>
{uuid !== '' && (
<>
<Box p={1}>

Loading…
Cancel
Save