From 5cd8629e34784b42037cf2a0126064019b1ff3a7 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 16 Dec 2023 00:07:12 -0800
Subject: feat(settings): scroll to section

---
 src/routes/settings/+page.svelte | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

(limited to 'src/routes/settings/+page.svelte')

diff --git a/src/routes/settings/+page.svelte b/src/routes/settings/+page.svelte
index 2cb077e8..ba86e720 100644
--- a/src/routes/settings/+page.svelte
+++ b/src/routes/settings/+page.svelte
@@ -60,7 +60,7 @@
 {#if data.user === undefined}
 	Please log in to modify settings.
 {:else}
-	<details open>
+	<details open id="feeds">
 		<summary>RSS Feeds</summary>
 
 		<a
@@ -81,7 +81,7 @@
 
 	<p />
 
-	<details open>
+	<details open id="display">
 		<summary>Display</summary>
 
 		<SettingCheckboxToggle
@@ -176,7 +176,7 @@
 
 	<p />
 
-	<details open>
+	<details open id="calculation">
 		<summary>Calculation</summary>
 
 		<SettingCheckboxToggle setting="roundDownChapters" text="Round down chapters (recommended)">
@@ -231,7 +231,7 @@
 
 	<p />
 
-	<details open>
+	<details open id="cache">
 		<summary>Cache</summary>
 
 		<!-- <a href={'#'} on:click={pruneUnresolved}>Re-cache <b>ALL</b> unresolved manga</a>
@@ -267,7 +267,7 @@
 
 	<p />
 
-	<details open>
+	<details open id="debug">
 		<summary>Debug <small style="opacity: 50%;">{env.PUBLIC_GIT_SHORT_SHA}</small></summary>
 
 		<a href={'#'} on:click={settings.reset}>Reset <b>ALL</b> settings</a>
@@ -286,5 +286,7 @@
 
 	<p />
 
-	<Attributions />
+	<div id="attributions">
+		<Attributions />
+	</div>
 {/if}
-- 
cgit v1.2.3

