refactor: adjust spacing between button and chip in FlowRow component
This commit is contained in:
@@ -85,7 +85,6 @@ export default function FlowRow(props: FlowRowProps): React.ReactElement {
|
|||||||
|
|
||||||
<IconButton
|
<IconButton
|
||||||
size="large"
|
size="large"
|
||||||
edge="start"
|
|
||||||
color="inherit"
|
color="inherit"
|
||||||
aria-label="open context menu"
|
aria-label="open context menu"
|
||||||
ref={contextButtonRef}
|
ref={contextButtonRef}
|
||||||
|
@@ -30,11 +30,11 @@ export const Title = styled(MuiStack)(() => ({
|
|||||||
gridArea: 'title',
|
gridArea: 'title',
|
||||||
}));
|
}));
|
||||||
|
|
||||||
export const ContextMenu = styled(MuiBox)(() => ({
|
export const ContextMenu = styled(MuiBox)(({ theme }) => ({
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
gap: 10,
|
gap: theme.spacing(0.625),
|
||||||
gridArea: 'menu',
|
gridArea: 'menu',
|
||||||
}));
|
}));
|
||||||
export const Typography = styled(MuiTypography)(() => ({
|
export const Typography = styled(MuiTypography)(() => ({
|
||||||
|
Reference in New Issue
Block a user