TagSpaces is an offline, open source, document manager with tagging support
chore: fix ui issues in the link generation dialog
Ilian Sapundshieva318b35307c6
diff --git a/src/renderer/components/dialogs/LinkGeneratorDialog.tsx b/src/renderer/components/dialogs/LinkGeneratorDialog.tsxindex 1c3775754..642bcdbc0 100644--- a/src/renderer/components/dialogs/LinkGeneratorDialog.tsx+++ b/src/renderer/components/dialogs/LinkGeneratorDialog.tsx@@ -16,6 +16,7 @@**/+import DraggablePaper from '-/components/DraggablePaper';import InfoIcon from '-/components/InfoIcon';import TsButton from '-/components/TsButton';import TsSelect from '-/components/TsSelect';@@ -27,6 +28,7 @@ import { useNotificationContext } from '-/hooks/useNotificationContext';import { useOpenedEntryContext } from '-/hooks/useOpenedEntryContext';import { openUrl } from '-/services/utils-io';import { generateClipboardLink } from '-/utils/dom';+import { Paper } from '@mui/material';import Dialog from '@mui/material/Dialog';import DialogContent from '@mui/material/DialogContent';import InputAdornment from '@mui/material/InputAdornment';@@ -80,15 +82,16 @@ function LinkGeneratorDialog(props: Props) {onClose={onClose}fullScreen={smallScreen}keepMounted+ aria-labelledby="draggable-dialog-title"+ PaperComponent={smallScreen ? Paper : DraggablePaper}scroll="paper"- style={{ marginTop: 12 }}><TsDialogTitledialogTitle={t('core:downloadLink')}closeButtonTestId="closeLinkGeneratorTID"onClose={onClose}/>- <DialogContent style={{ overflow: 'auto', height: 450 }}>+ <DialogContent style={{ overflow: 'auto', minHeight: 510 }}><TsSelectlabel={<>@@ -181,7 +184,7 @@ function LinkGeneratorDialog(props: Props) {{t('help')}</TsButton><TsButton data-tid="closeLinkTID" onClick={onClose}>- {t('core:close')}+ {t('core:closeButton')}</TsButton></TsDialogActions></Dialog>