Skip to content

Commit 8e64308

Browse files
authored
fix: Fix for padding issue and modal width (#530)
1 parent b1d3834 commit 8e64308

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-sdk-components/src/components/infra/Containers/ModalViewContainer/ModalViewContainer.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ const useStyles = makeStyles(theme => ({
9696
marginBottom: theme.spacing(0)
9797
},
9898
dlgContent: {
99+
paddingTop: `${theme.spacing(1)} !important`,
99100
marginLeft: theme.spacing(2),
100101
marginRight: theme.spacing(2),
101102
marginTop: theme.spacing(0),
@@ -309,7 +310,7 @@ export default function ModalViewContainer(props: ModalViewContainerProps) {
309310

310311
return (
311312
<>
312-
<Dialog open={bShowModal} aria-labelledby='form-dialog-title'>
313+
<Dialog open={bShowModal} aria-labelledby='form-dialog-title' maxWidth={false}>
313314
<DialogTitle id='form-dialog-title' className={`${classes.dlgTitle} psdk-dialog-title`}>
314315
{title}
315316
</DialogTitle>

0 commit comments

Comments
 (0)