diff --git a/src/renderer/features/settings/components/settings-content.module.css b/src/renderer/features/settings/components/settings-content.module.css
new file mode 100644
index 000000000..4762d8405
--- /dev/null
+++ b/src/renderer/features/settings/components/settings-content.module.css
@@ -0,0 +1,15 @@
+.scroll-container {
+ width: 100%;
+ height: 100%;
+ padding: 1rem;
+ overflow: hidden;
+}
+
+.spinner-container {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: 100%;
+ padding-top: 5rem;
+ padding-bottom: 5rem;
+}
diff --git a/src/renderer/features/settings/components/settings-content.tsx b/src/renderer/features/settings/components/settings-content.tsx
index b23ec4867..e2734753c 100644
--- a/src/renderer/features/settings/components/settings-content.tsx
+++ b/src/renderer/features/settings/components/settings-content.tsx
@@ -2,8 +2,11 @@ import isElectron from 'is-electron';
import { lazy, Suspense } from 'react';
import { useTranslation } from 'react-i18next';
+import styles from './settings-content.module.css';
+
import { LibraryContainer } from '/@/renderer/features/shared/components/library-container';
import { useSettingsStore, useSettingsStoreActions } from '/@/renderer/store/settings.store';
+import { Box } from '/@/shared/components/box/box';
import { Spinner } from '/@/shared/components/spinner/spinner';
import { Tabs } from '/@/shared/components/tabs/tabs';
@@ -37,6 +40,14 @@ const AdvancedTab = lazy(() =>
})),
);
+const SuspenseSpinner = () => {
+ return (
+
+
+
+ );
+};
+
export const SettingsContent = () => {
const { t } = useTranslation();
const currentTab = useSettingsStore((state) => state.tab);
@@ -44,7 +55,7 @@ export const SettingsContent = () => {
return (
-
+
e && setSettings({ tab: e })}
@@ -62,29 +73,29 @@ export const SettingsContent = () => {
{t('page.setting.advanced')}
- }>
+ }>
- }>
+ }>
- }>
+ }>
{isElectron() && (
- }>
+ }>
)}
- }>
+ }>