fix(striker-ui): ensure inner panel header wraps properly

main
Tsu-ba-me 3 years ago
parent c1f4ac10c9
commit b2e4747058
  1. 9
      striker-ui/components/Panels/InnerPanelHeader.tsx

@ -29,7 +29,14 @@ const InnerPanelHeader: FC = ({ children }) => (
>
{children}
</Box>
<Box sx={{ paddingBottom: '.4em', width: '100%', visibility: 'hidden' }}>
<Box
sx={{
paddingBottom: '.4em',
paddingRight: '1.7em',
width: '100%',
visibility: 'hidden',
}}
>
{children instanceof Array ? children[0] : children}
</Box>
</Box>

Loading…
Cancel
Save