Fix Settings UI (Discord removed default margins
This commit is contained in:
parent
b2ecb02335
commit
34276301c3
5 changed files with 6 additions and 6 deletions
|
@ -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)}>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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">
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue