mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed the issue causing the 2FA dialog to appear distorted.
This commit is contained in:
parent
9933a9a9e5
commit
7d0bbf30ec
@ -15,7 +15,7 @@ import { Box } from '@mui/material';
|
||||
const StyledBox = styled(Box)(({theme})=>({
|
||||
backgroundColor: theme.palette.background.default,
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
flexDirection: 'column',
|
||||
'& .ModalContent-footer': {
|
||||
display: 'flex',
|
||||
justifyContent: 'flex-end',
|
||||
@ -31,7 +31,7 @@ const StyledBox = styled(Box)(({theme})=>({
|
||||
|
||||
export const ModalContent = forwardRef(({children, ...props }, ref) => {
|
||||
return (
|
||||
<StyledBox ref={ref} {...props}>{children}</StyledBox>
|
||||
<StyledBox style={{height: '100%'}} ref={ref} {...props}>{children}</StyledBox>
|
||||
);
|
||||
});
|
||||
ModalContent.displayName = 'ModalContent';
|
||||
|
Loading…
Reference in New Issue
Block a user