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
commit2ba06637f57828c76a64fc9ae5a356c5c3ea3452 (patch)
treeaa02b14abdb9cfc609e1f72a9ddfb9747ab3a3a3 /src/components
parente16192c31fd9d566e5c4bdf78d896ba0427ec8ba (diff)
downloadcoinos-ui-2ba06637f57828c76a64fc9ae5a356c5c3ea3452.tar.gz
coinos-ui-2ba06637f57828c76a64fc9ae5a356c5c3ea3452.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" />