misc: specify desktop-only items

This commit is contained in:
Xylight committed 2024-06-28 15:00:28 -07:00
1 parent ae1a3bffc0
commit 5f34a102c3
6 files changed
+141 -49

No files matched your search

+13 -10
View File
@@ -93,7 +93,9 @@
bind:selected={$userSettings.dock.noGap}
/>
</Setting>
<Setting>
<Setting
supportedPlatforms={{ desktop: true, tablet: true, mobile: false }}
>
<span slot="title">{$t('settings.navigation.pins.title')}</span>
<span slot="description">
{$t('settings.navigation.pins.description')}
@@ -128,14 +130,6 @@
</Section>
<Section title={$t('settings.app.title')}>
<Setting>
<span slot="title">{$t('settings.app.theming.title')}</span>
<span slot="description">{$t('settings.app.theming.description')}</span>
<Button href="/theme">
{$t('settings.app.theming.link')}
<Icon src={ArrowRight} size="16" mini slot="suffix" />
</Button>
</Setting>
<Setting>
<span slot="title" class="inline-flex items-center gap-2">
{$t('settings.app.lang.title')}
@@ -226,6 +220,7 @@
description={$t('settings.app.displayName.description')}
/>
<ToggleSetting
supportedPlatforms={{ desktop: true, tablet: false, mobile: false }}
bind:checked={$userSettings.newWidth}
title={$t('settings.app.limitLayoutWidth.title')}
description={$t('settings.app.limitLayoutWidth.description')}
@@ -259,7 +254,7 @@
bind:selected={$userSettings.leftAlign}
/>
</Setting>
<Setting vertical>
<Setting itemsClass="flex-col !items-start">
<span slot="title">{$t('settings.app.font.title')}</span>
<span slot="description">{$t('settings.app.font.description')}</span>
<MultiSelect
@@ -268,6 +263,14 @@
bind:selected={$userSettings.font}
/>
</Setting>
<Setting>
<span slot="title">{$t('settings.app.theming.title')}</span>
<span slot="description">{$t('settings.app.theming.description')}</span>
<Button href="/theme">
{$t('settings.app.theming.link')}
<Icon src={ArrowRight} size="16" mini slot="suffix" />
</Button>
</Setting>
<Setting>
<span slot="title">{$t('settings.app.translation.title')}</span>
<span slot="description">