refactor: adjust spacing between button and chip in FlowRow component

This commit is contained in:
Rıdvan Akca
2023-03-07 18:06:36 +03:00
parent c6bd599b63
commit f98c1725be
2 changed files with 2 additions and 3 deletions

View File

@@ -85,7 +85,6 @@ export default function FlowRow(props: FlowRowProps): React.ReactElement {
<IconButton
size="large"
edge="start"
color="inherit"
aria-label="open context menu"
ref={contextButtonRef}

View File

@@ -30,11 +30,11 @@ export const Title = styled(MuiStack)(() => ({
gridArea: 'title',
}));
export const ContextMenu = styled(MuiBox)(() => ({
export const ContextMenu = styled(MuiBox)(({ theme }) => ({
flexDirection: 'row',
display: 'flex',
alignItems: 'center',
gap: 10,
gap: theme.spacing(0.625),
gridArea: 'menu',
}));
export const Typography = styled(MuiTypography)(() => ({