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:
@@ -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';
|
||||||
|
|||||||
Reference in New Issue
Block a user