aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/LocationsMap.svelte4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/LocationsMap.svelte b/src/components/LocationsMap.svelte
index 30e66ab9..d28bcf34 100644
--- a/src/components/LocationsMap.svelte
+++ b/src/components/LocationsMap.svelte
@@ -57,7 +57,7 @@
let scroll = () => {
const el = document.querySelector(".selected");
- if (el) el.scrollIntoView({ behavior: "smooth", block: "center" });
+ if (el) el.scrollIntoView({ behavior: "smooth", block: "center" });
};
let selected;
@@ -266,7 +266,7 @@
<div class="relative">
{#if !showList}
<div
- class="space-y-1 text-sm w-[300px] max-w-[calc(100vw*0.5)] min-h-[100px] max-h-[calc(100vh*0.4)] overflow-y-scroll p-4 bg-opacity-90 bg-primary absolute right-0 top-16 rounded-2xl shadow text-ellipsis"
+ class="space-y-1 text-sm w-[300px] max-w-[calc(100vw*0.5)] min-h-[100px] max-h-[calc(100vh*0.4)] overflow-y-scroll p-4 bg-opacity-90 bg-primary absolute right-4 bottom-4 rounded-2xl shadow text-ellipsis"
>
<div class="relative mb-4 sticky top-0 bg-primary z-10">
<input bind:value={search} class="w-full" />