diff --git a/src/lib/components/LayersAndTools/notices/SuperfanNoticeModal.svelte b/src/lib/components/LayersAndTools/notices/SuperfanNoticeModal.svelte
index e32c76ba..35cabb07 100644
--- a/src/lib/components/LayersAndTools/notices/SuperfanNoticeModal.svelte
+++ b/src/lib/components/LayersAndTools/notices/SuperfanNoticeModal.svelte
@@ -44,7 +44,7 @@
{capitalize($_('generics.become-superfan'))}
diff --git a/src/lib/styles/global.css b/src/lib/styles/global.css
index 13b9ef54..fb9364c9 100644
--- a/src/lib/styles/global.css
+++ b/src/lib/styles/global.css
@@ -67,6 +67,9 @@
.mt-m {
margin-top: 1rem;
}
+.mt-l {
+ margin-top: 2rem;
+}
html,
body,
diff --git a/src/routes/account/+page.svelte b/src/routes/account/+page.svelte
index cfd0880d..f4a91578 100644
--- a/src/routes/account/+page.svelte
+++ b/src/routes/account/+page.svelte
@@ -37,12 +37,13 @@
};
let updatingListedStatus = false;
- const changeGardenListed = async (event) => {
- const newStatus = event.target.checked;
+ const hideGardenTemporarily = async (event: Event) => {
+ // "checked" means "take off the map" (opposite of listed)
+ const newListedStatus = !(event.target as HTMLInputElement)?.checked;
updatingListedStatus = true;
try {
- await changeListedStatus(newStatus);
- if (!newStatus) notify.success($_('account.notify.garden-no-show'), 7000);
+ await changeListedStatus(newListedStatus);
+ if (!newListedStatus) notify.success($_('account.notify.garden-no-show'), 7000);
else notify.success($_('account.notify.garden-show'), 7000);
} catch (ex) {
console.log(ex);
@@ -171,15 +172,14 @@
{$_('account.garden.unlisted.button')}
{:else if $user.emailVerified && $user.garden}
- {$_('account.garden.listed.text')}
-
+