From 12c13de1bdf064211c0758951f8ea47404ff4917 Mon Sep 17 00:00:00 2001 From: ajnart Date: Tue, 2 Aug 2022 02:21:04 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=83=F0=9F=8F=BB=20Settings=20menu=20st?= =?UTF-8?q?yling?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Settings/AdvancedSettings.tsx | 2 +- src/components/Settings/CommonSettings.tsx | 4 ++-- src/components/Settings/Credits.tsx | 4 ++-- src/components/Settings/ModuleEnabler.tsx | 10 +++++----- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/components/Settings/AdvancedSettings.tsx b/src/components/Settings/AdvancedSettings.tsx index fe9909b94..536675c78 100644 --- a/src/components/Settings/AdvancedSettings.tsx +++ b/src/components/Settings/AdvancedSettings.tsx @@ -37,7 +37,7 @@ export default function TitleChanger() { }; return ( - +
saveChanges(values))}> diff --git a/src/components/Settings/CommonSettings.tsx b/src/components/Settings/CommonSettings.tsx index f77fb0061..739f65869 100644 --- a/src/components/Settings/CommonSettings.tsx +++ b/src/components/Settings/CommonSettings.tsx @@ -24,8 +24,8 @@ export default function CommonSettings(args: any) { ); return ( - - + + Search engine Use the prefixes !yt and !t in front of your query to search on YouTube or diff --git a/src/components/Settings/Credits.tsx b/src/components/Settings/Credits.tsx index 1d6271479..a3feb83e6 100644 --- a/src/components/Settings/Credits.tsx +++ b/src/components/Settings/Credits.tsx @@ -1,10 +1,10 @@ -import { Group, ActionIcon, Anchor, Text } from '@mantine/core'; +import { Group, ActionIcon, Anchor, Text, Stack } from '@mantine/core'; import { IconBrandDiscord, IconBrandGithub } from '@tabler/icons'; import { CURRENT_VERSION } from '../../../data/constants'; export default function Credits(props: any) { return ( - + component="a" href="https://github.com/ajnart/homarr" size="lg"> diff --git a/src/components/Settings/ModuleEnabler.tsx b/src/components/Settings/ModuleEnabler.tsx index 4e11e6065..e6f29c852 100644 --- a/src/components/Settings/ModuleEnabler.tsx +++ b/src/components/Settings/ModuleEnabler.tsx @@ -1,4 +1,4 @@ -import { Checkbox, Group, SimpleGrid, Title } from '@mantine/core'; +import { Checkbox, Group, SimpleGrid, Stack, Title } from '@mantine/core'; import * as Modules from '../../modules'; import { useConfig } from '../../tools/state'; @@ -6,13 +6,13 @@ export default function ModuleEnabler(props: any) { const { config, setConfig } = useConfig(); const modules = Object.values(Modules).map((module) => module); return ( - + Module enabler - + {modules.map((module) => ( { @@ -30,6 +30,6 @@ export default function ModuleEnabler(props: any) { /> ))} - + ); }