misc: tweak settings page

This commit is contained in:
Xylight committed 2024-08-05 14:33:31 -07:00
1 parent c174ce5362
commit 03dd34a0e4
1 file changed
+13 -12
+13 -12
View File
@@ -327,11 +327,6 @@
title={$t('settings.app.postsInNewTab.title')} title={$t('settings.app.postsInNewTab.title')}
description={$t('settings.app.postsInNewTab.description')} description={$t('settings.app.postsInNewTab.description')}
/> />
<ToggleSetting
bind:checked={$userSettings.displayNames}
title={$t('settings.app.displayName.title')}
description={$t('settings.app.displayName.description')}
/>
<ToggleSetting <ToggleSetting
supportedPlatforms={{ desktop: true, tablet: false, mobile: false }} supportedPlatforms={{ desktop: true, tablet: false, mobile: false }}
bind:checked={$userSettings.newWidth} bind:checked={$userSettings.newWidth}
@@ -367,14 +362,15 @@
bind:selected={$userSettings.leftAlign} bind:selected={$userSettings.leftAlign}
/> />
</Setting> </Setting>
<Setting itemsClass="flex-col !items-start"> <Setting>
<span slot="title">{$t('settings.app.font.title')}</span> <span slot="title">{$t('settings.app.font.title')}</span>
<span slot="description">{$t('settings.app.font.description')}</span> <span slot="description">{$t('settings.app.font.description')}</span>
<MultiSelect <Select bind:value={$userSettings.font}>
options={['inter', 'satoshi/nunito', 'system', 'browser']} <option value="inter">Inter</option>
optionNames={['Inter', 'Satoshi/Nunito', 'System UI', 'Browser Font']} <option value="satoshi/nunito">Satoshi + Nunito</option>
bind:selected={$userSettings.font} <option value="system">System UI</option>
/> <option value="browser">Browser</option>
</Select>
</Setting> </Setting>
<Setting> <Setting>
<span slot="title">{$t('settings.app.theming.title')}</span> <span slot="title">{$t('settings.app.theming.title')}</span>
@@ -490,7 +486,7 @@
<ToggleSetting <ToggleSetting
bind:checked={$userSettings.markReadPosts} bind:checked={$userSettings.markReadPosts}
title={$t('settings.lemmy.fadeReadPosts.title')} title={$t('settings.lemmy.fadeReadPosts.title')}
description={$t('settings.lemmy.fadeReadPosts.title')} description={$t('settings.lemmy.fadeReadPosts.description')}
/> />
<ToggleSetting <ToggleSetting
bind:checked={$userSettings.crosspostOriginalLink} bind:checked={$userSettings.crosspostOriginalLink}
@@ -533,6 +529,11 @@
</Checkbox> </Checkbox>
</div> </div>
</Setting> </Setting>
<ToggleSetting
bind:checked={$userSettings.displayNames}
title={$t('settings.app.displayName.title')}
description={$t('settings.app.displayName.description')}
/>
</Section> </Section>
<Section title={$t('settings.moderation.title')}> <Section title={$t('settings.moderation.title')}>