Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: fix oveflow issue in movecopy dialog

Ilian Sapundshievdc07187d98f9
diff --git a/src/renderer/components/dialogs/MoveCopyFilesDialog.tsx b/src/renderer/components/dialogs/MoveCopyFilesDialog.tsx
index db49a63f2..4181443c2 100644
--- a/src/renderer/components/dialogs/MoveCopyFilesDialog.tsx
+++ b/src/renderer/components/dialogs/MoveCopyFilesDialog.tsx
@@ -197,7 +197,7 @@ function MoveCopyFilesDialog(props: Props) {
closeButtonTestId="closeMCFilesTID"
onClose={onClose}
/>
- <DialogContent style={{ overflow: 'hidden' }}>
+ <DialogContent sx={{ overflowX: 'hidden', overflowY: 'auto' }}>
<Typography variant="subtitle2">
{t('selectedFilesAndFolders')}
</Typography>
@@ -232,7 +232,7 @@ function MoveCopyFilesDialog(props: Props) {
targetPath={targetPath}
targetLocationID={targetLocation?.uuid}
/>
- <Box style={{ marginTop: 10 }}>
+ <Box sx={{ marginTop: '10px' }}>
{targetPath ? (
<Typography variant="subtitle2">
{t('moveCopyToPath') + ': ' + targetPath}