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 icon: IconSource | undefined = undefined
|
||||
$: selected = href != undefined && $page.url.pathname == href
|
||||
export let selected = false
|
||||
$: {
|
||||
if (href != undefined) {
|
||||
selected = $page.url.pathname == href
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<Button
|
||||
|
||||
@@ -141,13 +141,6 @@
|
||||
bind:selected={$userSettings.leftAlign}
|
||||
/>
|
||||
</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 title="Navigation">
|
||||
@@ -162,8 +155,8 @@
|
||||
</Setting>
|
||||
<ToggleSetting
|
||||
bind:checked={$userSettings.dock.noGap}
|
||||
title="Panel"
|
||||
description="Make the dock not float, similar to a panel."
|
||||
title="Panel mode"
|
||||
description="Extend the dock to screen edges, similar to a panel."
|
||||
/>
|
||||
</Section>
|
||||
|
||||
|
||||
Reference in new issue
Block a user