diff options
author | Vendicated <vendicated@riseup.net> | 2023-01-24 13:35:57 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-01-24 13:35:57 +0100 |
commit | 34276301c31dc1b464d79a07e25a347968e78313 (patch) | |
tree | 999dc21f26a0c9f922c3a24b4813edb7071e67ec /src | |
parent | b2ecb02335fa51a7c7eadab0acb3beb91c289802 (diff) | |
download | Vencord-34276301c31dc1b464d79a07e25a347968e78313.tar.gz Vencord-34276301c31dc1b464d79a07e25a347968e78313.tar.bz2 Vencord-34276301c31dc1b464d79a07e25a347968e78313.zip |
Fix Settings UI (Discord removed default margins
Diffstat (limited to 'src')
-rw-r--r-- | src/components/PluginSettings/index.tsx | 2 | ||||
-rw-r--r-- | src/components/VencordSettings/BackupRestoreTab.tsx | 2 | ||||
-rw-r--r-- | src/components/VencordSettings/ThemesTab.tsx | 2 | ||||
-rw-r--r-- | src/components/VencordSettings/Updater.tsx | 4 | ||||
-rw-r--r-- | src/components/VencordSettings/VencordTab.tsx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/components/PluginSettings/index.tsx b/src/components/PluginSettings/index.tsx index 4b6abdd..f439753 100644 --- a/src/components/PluginSettings/index.tsx +++ b/src/components/PluginSettings/index.tsx @@ -296,7 +296,7 @@ export default ErrorBoundary.wrap(function PluginSettings() { } return ( - <Forms.FormSection> + <Forms.FormSection className={Margins.marginTop16}> <ReloadRequiredCard required={changes.hasChanges} /> <Forms.FormTitle tag="h5" className={classes(Margins.marginTop20, Margins.marginBottom8)}> diff --git a/src/components/VencordSettings/BackupRestoreTab.tsx b/src/components/VencordSettings/BackupRestoreTab.tsx index c7dc7d2..546db35 100644 --- a/src/components/VencordSettings/BackupRestoreTab.tsx +++ b/src/components/VencordSettings/BackupRestoreTab.tsx @@ -24,7 +24,7 @@ import { Button, Card, Forms, Margins, Text } from "@webpack/common"; function BackupRestoreTab() { return ( - <Forms.FormSection title="Settings Sync"> + <Forms.FormSection title="Settings Sync" className={Margins.marginTop16}> <Card className={classes("vc-settings-card", "vc-backup-restore-card")}> <Flex flexDirection="column"> <strong>Warning</strong> diff --git a/src/components/VencordSettings/ThemesTab.tsx b/src/components/VencordSettings/ThemesTab.tsx index 738715f..69fcc29 100644 --- a/src/components/VencordSettings/ThemesTab.tsx +++ b/src/components/VencordSettings/ThemesTab.tsx @@ -93,7 +93,7 @@ export default ErrorBoundary.wrap(function () { <Forms.FormTitle tag="h5">Paste links to .css / .theme.css files here</Forms.FormTitle> <Forms.FormText>One link per line</Forms.FormText> <Forms.FormText>Make sure to use the raw links or github.io links!</Forms.FormText> - <Forms.FormDivider /> + <Forms.FormDivider className={Margins.marginTop8 + " " + Margins.marginBottom8} /> <Forms.FormTitle tag="h5">Find Themes:</Forms.FormTitle> <div style={{ marginBottom: ".5em" }}> <Link style={{ marginRight: ".5em" }} href="https://betterdiscord.app/themes"> diff --git a/src/components/VencordSettings/Updater.tsx b/src/components/VencordSettings/Updater.tsx index 8a126a8..b5243f2 100644 --- a/src/components/VencordSettings/Updater.tsx +++ b/src/components/VencordSettings/Updater.tsx @@ -199,7 +199,7 @@ function Updater() { }; return ( - <Forms.FormSection> + <Forms.FormSection className={Margins.marginTop16}> <Forms.FormTitle tag="h5">Updater Settings</Forms.FormTitle> <Switch value={settings.notifyAboutUpdates} @@ -225,7 +225,7 @@ function Updater() { </Link> )} (<HashLink hash={gitHash} repo={repo} disabled={repoPending} />)</Forms.FormText> - <Forms.FormDivider /> + <Forms.FormDivider className={Margins.marginTop8 + " " + Margins.marginBottom8} /> <Forms.FormTitle tag="h5">Updates</Forms.FormTitle> diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx index 5da4442..e1632b1 100644 --- a/src/components/VencordSettings/VencordTab.tsx +++ b/src/components/VencordSettings/VencordTab.tsx @@ -82,7 +82,7 @@ function VencordSettings() { <Forms.FormDivider /> - <Forms.FormSection title="Settings"> + <Forms.FormSection className={Margins.marginTop16} title="Settings"> <Forms.FormText className={Margins.marginBottom20}> Hint: You can change the position of this settings section in the settings of the "Settings" plugin! </Forms.FormText> |