Skip to content

Commit cbb91a9

Browse files
committed
Add max height to deep scan modal
1 parent f68b8cf commit cbb91a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/sections/migrate/deep-scan-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ export function DeepScanModal({
390390

391391
return (
392392
<Dialog open={isOpen} onOpenChange={handleClose}>
393-
<DialogContent className={isScanning || isCompleted ? 'max-w-2xl' : 'sm:max-w-lg'}>
393+
<DialogContent className={cn('max-h-[100vh] overflow-y-auto', isScanning || isCompleted ? 'max-w-2xl' : 'sm:max-w-lg')}>
394394
{isScanning || isCompleted ? renderProgressView() : renderConfigView()}
395395

396396
<DialogFooter>

0 commit comments

Comments
 (0)