fix(striker-ui): adjust margin between children on inner panel header

main
Tsu-ba-me 1 year ago
parent 7bb98ba95f
commit d0f9ced223
  1. 1
      striker-ui/components/Hosts/AnvilHost.tsx
  2. 4
      striker-ui/components/Panels/InnerPanelHeader.tsx

@ -45,7 +45,6 @@ const StyledBox = styled(Box)(({ theme }) => ({
[`& .${classes.decoratorBox}`]: { [`& .${classes.decoratorBox}`]: {
alignSelf: 'stretch', alignSelf: 'stretch',
paddingRight: '.3em',
}, },
})); }));

@ -26,6 +26,10 @@ const InnerPanelHeader: FC = ({ children }) => (
'& > :first-child': { '& > :first-child': {
flexGrow: 1, flexGrow: 1,
}, },
'& > :not(:first-child, :last-child)': {
marginRight: '.3em',
},
}} }}
> >
{children} {children}

Loading…
Cancel
Save