parent
9933a9a9e5
commit
7d0bbf30ec
|
@ -15,7 +15,7 @@ import { Box } from '@mui/material';
|
||||||
const StyledBox = styled(Box)(({theme})=>({
|
const StyledBox = styled(Box)(({theme})=>({
|
||||||
backgroundColor: theme.palette.background.default,
|
backgroundColor: theme.palette.background.default,
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
'& .ModalContent-footer': {
|
'& .ModalContent-footer': {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
justifyContent: 'flex-end',
|
justifyContent: 'flex-end',
|
||||||
|
@ -31,7 +31,7 @@ const StyledBox = styled(Box)(({theme})=>({
|
||||||
|
|
||||||
export const ModalContent = forwardRef(({children, ...props }, ref) => {
|
export const ModalContent = forwardRef(({children, ...props }, ref) => {
|
||||||
return (
|
return (
|
||||||
<StyledBox ref={ref} {...props}>{children}</StyledBox>
|
<StyledBox style={{height: '100%'}} ref={ref} {...props}>{children}</StyledBox>
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
ModalContent.displayName = 'ModalContent';
|
ModalContent.displayName = 'ModalContent';
|
||||||
|
|
Loading…
Reference in New Issue