From 0019cf13f33f66c82052de052628c3709febdb43 Mon Sep 17 00:00:00 2001
From: ben-basten <45583362+ben-basten@users.noreply.github.com>
Date: Fri, 13 Sep 2024 16:44:44 -0400
Subject: [PATCH] fix(web): modal sticky bottom scrolling
---
.../components/forms/tag-asset-form.svelte | 72 +++++++++----------
.../full-screen-modal.svelte | 20 +++---
web/src/lib/i18n/en.json | 2 +-
3 files changed, 45 insertions(+), 49 deletions(-)
diff --git a/web/src/lib/components/forms/tag-asset-form.svelte b/web/src/lib/components/forms/tag-asset-form.svelte
index 7500a6faac..b318c25320 100644
--- a/web/src/lib/components/forms/tag-asset-form.svelte
+++ b/web/src/lib/components/forms/tag-asset-form.svelte
@@ -49,42 +49,42 @@
-
-
-
- {#each selectedIds as tagId (tagId)}
- {@const tag = tagMap[tagId]}
- {#if tag}
-
-
-
- {tag.value}
-
-
-
-
-
- {/if}
- {/each}
-
+
+
+
+ {#each selectedIds as tagId (tagId)}
+ {@const tag = tagMap[tagId]}
+ {#if tag}
+
+
+
+ {tag.value}
+
+
+
+
+ {/if}
+ {/each}
+
+
diff --git a/web/src/lib/components/shared-components/full-screen-modal.svelte b/web/src/lib/components/shared-components/full-screen-modal.svelte
index 2cecdf74e8..a2e365b012 100644
--- a/web/src/lib/components/shared-components/full-screen-modal.svelte
+++ b/web/src/lib/components/shared-components/full-screen-modal.svelte
@@ -74,22 +74,18 @@
aria-modal="true"
aria-labelledby={titleId}
>
-
diff --git a/web/src/lib/i18n/en.json b/web/src/lib/i18n/en.json
index e27cc54d52..5122a4ce19 100644
--- a/web/src/lib/i18n/en.json
+++ b/web/src/lib/i18n/en.json
@@ -1187,7 +1187,7 @@
"tag_assets": "Tag assets",
"tag_created": "Created tag: {tag}",
"tag_feature_description": "Browsing photos and videos grouped by logical tag topics",
- "tag_not_found_question": "Cannot find a tag? Create one here",
+ "tag_not_found_question": "Cannot find a tag? Create a new tag.",
"tag_updated": "Updated tag: {tag}",
"tagged_assets": "Tagged {count, plural, one {# asset} other {# assets}}",
"tags": "Tags",