Fix navigation setting panel bugs
This commit is contained in:
parent
e94eba9619
commit
af8e58fa91
|
@ -81,6 +81,13 @@
|
||||||
value={$store.navigation.sticky}
|
value={$store.navigation.sticky}
|
||||||
on:change={e => update("sticky", e.detail)}
|
on:change={e => update("sticky", e.detail)}
|
||||||
/>
|
/>
|
||||||
|
<Select
|
||||||
|
label="Width"
|
||||||
|
options={["Max", "Large", "Medium", "Small"]}
|
||||||
|
plaveholder={null}
|
||||||
|
value={$store.navigation.navWidth}
|
||||||
|
on:change={e => update("navWidth", e.detail)}
|
||||||
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
<Layout noPadding gap="XS">
|
<Layout noPadding gap="XS">
|
||||||
<Checkbox
|
<Checkbox
|
||||||
|
@ -112,19 +119,12 @@
|
||||||
/>
|
/>
|
||||||
{/if}
|
{/if}
|
||||||
</Layout>
|
</Layout>
|
||||||
<Select
|
|
||||||
label="Width"
|
|
||||||
options={["Max", "Large", "Medium", "Small"]}
|
|
||||||
plaveholder={null}
|
|
||||||
value={$store.navigation.navWidth}
|
|
||||||
on:change={e => updateNavigation("navWidth", e.detail)}
|
|
||||||
/>
|
|
||||||
<Layout noPadding gap="XS">
|
<Layout noPadding gap="XS">
|
||||||
<Label>Background color</Label>
|
<Label>Background color</Label>
|
||||||
<ColorPicker
|
<ColorPicker
|
||||||
spectrumTheme={$store.theme}
|
spectrumTheme={$store.theme}
|
||||||
value={$store.navigation.navBackground || DefaultAppTheme.navBackground}
|
value={$store.navigation.navBackground || DefaultAppTheme.navBackground}
|
||||||
on:change={e => updateNavigation("navBackground", e.detail)}
|
on:change={e => update("navBackground", e.detail)}
|
||||||
/>
|
/>
|
||||||
</Layout>
|
</Layout>
|
||||||
<Layout noPadding gap="XS">
|
<Layout noPadding gap="XS">
|
||||||
|
@ -132,7 +132,7 @@
|
||||||
<ColorPicker
|
<ColorPicker
|
||||||
spectrumTheme={$store.theme}
|
spectrumTheme={$store.theme}
|
||||||
value={$store.navigation.navTextColor || DefaultAppTheme.navTextColor}
|
value={$store.navigation.navTextColor || DefaultAppTheme.navTextColor}
|
||||||
on:change={e => updateNavigation("navTextColor", e.detail)}
|
on:change={e => update("navTextColor", e.detail)}
|
||||||
/>
|
/>
|
||||||
</Layout>
|
</Layout>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
Loading…
Reference in New Issue