diff --git a/apps/client/src/widgets/type_widgets/options/appearance.tsx b/apps/client/src/widgets/type_widgets/options/appearance.tsx
index 57d6f06dc..9ea95f9f3 100644
--- a/apps/client/src/widgets/type_widgets/options/appearance.tsx
+++ b/apps/client/src/widgets/type_widgets/options/appearance.tsx
@@ -24,8 +24,39 @@ const BUILTIN_THEMES: Theme[] = [
{ val: "dark", title: t("theme.dark_theme") }
]
-export default function AppearanceSettings() {
+export default function AppearanceSettings() {
+ return (
+ <>
+
+
+ >
+ )
+}
+
+function LayoutOrientation() {
const [ layoutOrientation, setLayoutOrientation ] = useTriliumOption("layoutOrientation", true);
+
+ return (
+
+ {!isMobile() && {t("theme.layout-vertical-title")} - {t("theme.layout-vertical-description")}>,
+ value: "vertical"
+ },
+ {
+ label: <>{t("theme.layout-horizontal-title")} - {t("theme.layout-horizontal-description")}>,
+ value: "horizontal"
+ }
+ ]}
+ currentValue={layoutOrientation} onChange={setLayoutOrientation}
+ />}
+
+ );
+}
+
+function ApplicationTheme() {
const [ theme, setTheme ] = useTriliumOption("theme", true);
const [ overrideThemeFonts, setOverrideThemeFonts ] = useTriliumOptionBool("overrideThemeFonts");
@@ -41,37 +72,18 @@ export default function AppearanceSettings() {
}, []);
return (
- <>
-
- {!isMobile() && {t("theme.layout-vertical-title")} - {t("theme.layout-vertical-description")}>,
- value: "vertical"
- },
- {
- label: <>{t("theme.layout-horizontal-title")} - {t("theme.layout-horizontal-description")}>,
- value: "horizontal"
- }
- ]}
- currentValue={layoutOrientation} onChange={setLayoutOrientation}
- />}
-
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
- >
+
+
+
+
)
}
\ No newline at end of file