fix: profile highlighting
This commit is contained in:
1 parent
6ffd3ceb99
commit
aef676c8b5
2 files changed
+8
-10
No files matched your search
@@ -6,7 +6,12 @@
|
|||||||
|
|
||||||
export let href: string | undefined = undefined
|
export let href: string | undefined = undefined
|
||||||
export let icon: IconSource | undefined = undefined
|
export let icon: IconSource | undefined = undefined
|
||||||
$: selected = href != undefined && $page.url.pathname == href
|
export let selected = false
|
||||||
|
$: {
|
||||||
|
if (href != undefined) {
|
||||||
|
selected = $page.url.pathname == href
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
@@ -141,13 +141,6 @@
|
|||||||
bind:selected={$userSettings.leftAlign}
|
bind:selected={$userSettings.leftAlign}
|
||||||
/>
|
/>
|
||||||
</Setting>
|
</Setting>
|
||||||
{#if LINKED_INSTANCE_URL}
|
|
||||||
<ToggleSetting
|
|
||||||
title={'Remove "Powered by Photon"'}
|
|
||||||
description="Remove the massive 120x16 div in the top left corner."
|
|
||||||
bind:checked={$userSettings.hidePhoton}
|
|
||||||
/>
|
|
||||||
{/if}
|
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
<Section title="Navigation">
|
<Section title="Navigation">
|
||||||
@@ -162,8 +155,8 @@
|
|||||||
</Setting>
|
</Setting>
|
||||||
<ToggleSetting
|
<ToggleSetting
|
||||||
bind:checked={$userSettings.dock.noGap}
|
bind:checked={$userSettings.dock.noGap}
|
||||||
title="Panel"
|
title="Panel mode"
|
||||||
description="Make the dock not float, similar to a panel."
|
description="Extend the dock to screen edges, similar to a panel."
|
||||||
/>
|
/>
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user