aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-09-26 16:05:46 -0700
committerAdam Soltys <[email protected]>2024-09-26 16:05:46 -0700
commit4ae79d165e90a5e4fc620a23ab6bd88d58364452 (patch)
treeaa02b14abdb9cfc609e1f72a9ddfb9747ab3a3a3 /src/components
parentdd0e749694728562e2561699154824efc4d08eb8 (diff)
downloadcoinos-ui-4ae79d165e90a5e4fc620a23ab6bd88d58364452.tar.gz
coinos-ui-4ae79d165e90a5e4fc620a23ab6bd88d58364452.zip
move list to bottom right
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" />