|
|
@ -11,10 +11,11 @@ const useStyles = makeStyles(() => ({ |
|
|
|
innerHeader: { |
|
|
|
innerHeader: { |
|
|
|
position: 'relative', |
|
|
|
position: 'relative', |
|
|
|
padding: '0 10px', |
|
|
|
padding: '0 10px', |
|
|
|
'&::before': { |
|
|
|
}, |
|
|
|
|
|
|
|
header: { |
|
|
|
top: '-5px', |
|
|
|
top: '-5px', |
|
|
|
left: '-5px', |
|
|
|
left: '-5px', |
|
|
|
padding: '10px 0', |
|
|
|
padding: '20px 0', |
|
|
|
position: 'absolute', |
|
|
|
position: 'absolute', |
|
|
|
content: '""', |
|
|
|
content: '""', |
|
|
|
borderColor: DIVIDER, |
|
|
|
borderColor: DIVIDER, |
|
|
@ -23,7 +24,6 @@ const useStyles = makeStyles(() => ({ |
|
|
|
borderStyle: 'solid', |
|
|
|
borderStyle: 'solid', |
|
|
|
width: '100%', |
|
|
|
width: '100%', |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
})); |
|
|
|
})); |
|
|
|
|
|
|
|
|
|
|
|
const PanelHeader = ({ children }: Props): JSX.Element => { |
|
|
|
const PanelHeader = ({ children }: Props): JSX.Element => { |
|
|
@ -31,6 +31,7 @@ const PanelHeader = ({ children }: Props): JSX.Element => { |
|
|
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<Box className={classes.innerHeader} whiteSpace="pre-wrap"> |
|
|
|
<Box className={classes.innerHeader} whiteSpace="pre-wrap"> |
|
|
|
|
|
|
|
<div className={classes.header} /> |
|
|
|
{children} |
|
|
|
{children} |
|
|
|
</Box> |
|
|
|
</Box> |
|
|
|
); |
|
|
|
); |
|
|
|