TagSpaces is an offline, open source, document manager with tagging support
fix: ui settings
Ilian Sapundshiev849a5d0adbea
diff --git a/src/renderer/components/dialogs/settings/SettingsDialog.tsx b/src/renderer/components/dialogs/settings/SettingsDialog.tsxindex 41387ce8b..15ce0b838 100644--- a/src/renderer/components/dialogs/settings/SettingsDialog.tsx+++ b/src/renderer/components/dialogs/settings/SettingsDialog.tsx@@ -142,8 +142,9 @@ function SettingsDialog(props: Props) {style={{height: 'calc(100% - 50px)',minHeight: 400,- minWidth: 600,- maxWidth: 600,+ width: fullScreen ? '100%' : 600,+ //minWidth: 600,+ //maxWidth: 600,}}>{currentTab === 0 && <SettingsGeneral />}diff --git a/src/renderer/components/dialogs/settings/SettingsFileTypes.tsx b/src/renderer/components/dialogs/settings/SettingsFileTypes.tsxindex 8e1231ff0..bc8747a45 100644--- a/src/renderer/components/dialogs/settings/SettingsFileTypes.tsx+++ b/src/renderer/components/dialogs/settings/SettingsFileTypes.tsx@@ -244,7 +244,7 @@ function SettingsFileTypes() {interface ColumnData {dataKey: keyof TS.FileTypes;label: string;- width: number;+ width?: number | string;}const columns: ColumnData[] = [@@ -254,17 +254,17 @@ function SettingsFileTypes() {dataKey: 'type',},{- width: 170,+ //width: '35%',label: t('core:fileOpener'),dataKey: 'viewer',},{- width: 170,+ // width: '45%',label: t('core:fileEditor'),dataKey: 'editor',},{- width: 80,+ //width: 80,label: t('core:actions'),dataKey: 'color',},@@ -475,7 +475,7 @@ function SettingsFileTypes() {<Root><Paperstyle={{- height: 600,+ height: 500,width: '100%',minWidth: 550,overflow: 'hidden',