Make small.

pull/24/head
Sander Vocke 5 years ago
parent 533cfcd7d1
commit 0e1138cba1
  1. 6
      client/src/components/windows/ManageTagsWindow.tsx

@ -108,17 +108,19 @@ export function SingleTag(props: {
style={{ opacity: 0.5 }} style={{ opacity: 0.5 }}
> >
<Chip <Chip
size="small"
label={props.tag.name} label={props.tag.name}
/> />
</Box>; </Box>;
return <> return <>
<Box display="flex" alignItems="center" mt={1}> <Box display="flex" alignItems="center">
<Box visibility={hasChildren ? 'visible' : 'hidden'}> <Box visibility={hasChildren ? 'visible' : 'hidden'}>
{expandArrow} {expandArrow}
</Box> </Box>
{props.prependElems} {props.prependElems}
<Chip <Chip
size="small"
label={tag.name} label={tag.name}
/> />
</Box> </Box>
@ -176,7 +178,7 @@ export default function ManageTagsWindow(props: IProps) {
width="80%" width="80%"
> >
{tags && tags.length && tags.map((tag: any) => { {tags && tags.length && tags.map((tag: any) => {
return <Box mt={1}><SingleTag tag={tag} prependElems={[]} /></Box>; return <SingleTag tag={tag} prependElems={[]} />;
})} })}
</Box> </Box>
</Box> </Box>

Loading…
Cancel
Save