Skip to content

Commit

Permalink
Added conditional height to success screen dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
surajeaton committed Sep 11, 2023
1 parent 62504e3 commit 57964be
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,14 @@ export const ChangePasswordDialogBase: React.FC<ChangePasswordDialogProps> = (pr
SuccessScreen ? (
SuccessScreen(_props)
) : (
<SuccessScreenBase WorkflowCardBaseProps={{ sx: { height: '70vh' } }} {..._props} />
<SuccessScreenBase
WorkflowCardBaseProps={{
sx: {
height: matchesSM ? '100vh' : '70vh',
},
}}
{..._props}
/>
);

return (
Expand Down

0 comments on commit 57964be

Please sign in to comment.