Skip to content

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

chore: reverting to the previous dialog closing icon

Ilian Sapundshiev8a469d1524ad
diff --git a/src/renderer/components/CommonIcons.tsx b/src/renderer/components/CommonIcons.tsx
index 1140fcb9f..0d4da252c 100644
--- a/src/renderer/components/CommonIcons.tsx
+++ b/src/renderer/components/CommonIcons.tsx
@@ -110,6 +110,8 @@ export { default as SearchIcon } from '@mui/icons-material/Search';
export { default as CloseIcon } from '@mui/icons-material/CancelOutlined';
+export { default as CloseDialogIcon } from '@mui/icons-material/Close';
+
export { default as ArrowBackIcon } from '@mui/icons-material/ArrowBackIos';
export { default as SelectedIcon } from '@mui/icons-material/CheckCircle';
diff --git a/src/renderer/components/dialogs/NewAudioDialog.tsx b/src/renderer/components/dialogs/NewAudioDialog.tsx
index 5d3d6262b..0e7d6920d 100644
--- a/src/renderer/components/dialogs/NewAudioDialog.tsx
+++ b/src/renderer/components/dialogs/NewAudioDialog.tsx
@@ -72,7 +72,6 @@ function NewAudioDialog(props: Props) {
style={{
minWidth: 200,
minHeight: 200,
- marginBottom: 20,
overflow: 'overlay',
}}
data-tid="keyboardShortCutsDialog"
diff --git a/src/renderer/components/dialogs/components/TsDialogTitle.tsx b/src/renderer/components/dialogs/components/TsDialogTitle.tsx
index c80425fcb..0f91cdde4 100644
--- a/src/renderer/components/dialogs/components/TsDialogTitle.tsx
+++ b/src/renderer/components/dialogs/components/TsDialogTitle.tsx
@@ -17,7 +17,7 @@
*/
import AppConfig from '-/AppConfig';
-import { ArrowBackIcon, CloseIcon } from '-/components/CommonIcons';
+import { ArrowBackIcon, CloseDialogIcon } from '-/components/CommonIcons';
import TsIconButton from '-/components/TsIconButton';
import { isDesktopMode } from '-/reducers/settings';
import DialogTitle, { DialogTitleProps } from '@mui/material/DialogTitle';
@@ -63,7 +63,7 @@ function TsDialogTitle(props: TSDialogTitle) {
data-tid={closeButtonTestId}
onClick={onClose}
>
- <CloseIcon />
+ <CloseDialogIcon />
</TsIconButton>
);