@@ -39,6 +39,7 @@ const ConfirmationModalBody = ({
39
39
handleClose,
40
40
shouldCloseOnEscape = true ,
41
41
overriddenTheme,
42
+ isLandscapeView = false ,
42
43
} : ConfirmationModalBodyProps ) => {
43
44
const { registerShortcut, unregisterShortcut } = useRegisterShortcut ( )
44
45
@@ -83,7 +84,7 @@ const ConfirmationModalBody = ({
83
84
return (
84
85
< Backdrop onEscape = { shouldCloseOnEscape ? handleCloseWrapper : noop } >
85
86
< motion . div
86
- className = { `${ overriddenTheme ? getComponentSpecificThemeClass ( overriddenTheme ) : '' } confirmation-modal border__secondary flexbox-col br-8 bg__primary dc__m-auto mt-40 w-400` }
87
+ className = { `${ overriddenTheme ? getComponentSpecificThemeClass ( overriddenTheme ) : '' } ${ isLandscapeView ? 'w-500' : 'w-400' } confirmation-modal border__secondary flexbox-col br-8 bg__primary dc__m-auto mt-40 w-400` }
87
88
exit = { { y : 100 , opacity : 0 , scale : 0.75 , transition : { duration : 0.35 } } }
88
89
initial = { { y : 100 , opacity : 0 , scale : 0.75 } }
89
90
animate = { { y : 0 , opacity : 1 , scale : 1 } }
@@ -96,7 +97,7 @@ const ConfirmationModalBody = ({
96
97
className : `${ RenderIcon . props ?. className ?? '' } icon-dim-48 dc__no-shrink` ,
97
98
} ) }
98
99
99
- < div className = " flexbox-col dc__gap-8" >
100
+ < div className = { ` flexbox-col ${ isLandscapeView ? '' : ' dc__gap-8' } ` } >
100
101
< span className = "cn-9 fs-16 fw-6 lh-24 dc__word-break" > { title } </ span >
101
102
102
103
{ typeof subtitle === 'string' ? (
0 commit comments