From 7f7fa1465a5e141f9138668ed46890082e800c20 Mon Sep 17 00:00:00 2001 From: Alexis <35.alexis.pele@gmail.com> Date: Fri, 13 Oct 2023 21:32:19 +0200 Subject: [PATCH] Fixed small focus bugs --- src/components/maps/WorldMap.astro | 4 ++ src/components/maps/WorldMapOverlay.astro | 9 +--- src/components/maps/overlay/SearchMarkers.vue | 48 ++++++++++++++----- src/pages/index.astro | 9 +--- 4 files changed, 43 insertions(+), 27 deletions(-) diff --git a/src/components/maps/WorldMap.astro b/src/components/maps/WorldMap.astro index a444813d..ca9ac233 100644 --- a/src/components/maps/WorldMap.astro +++ b/src/components/maps/WorldMap.astro @@ -204,6 +204,10 @@ body { .world-wrapper { position: fixed; inset: 0; + + #world { + height: 100%; + } } .leaflet-container { diff --git a/src/components/maps/WorldMapOverlay.astro b/src/components/maps/WorldMapOverlay.astro index db5700db..b7fcf726 100644 --- a/src/components/maps/WorldMapOverlay.astro +++ b/src/components/maps/WorldMapOverlay.astro @@ -1,16 +1,9 @@ --- -import { allTasks } from 'nanostores'; -import { $world } from './worldStore'; - import SearchMarkers from "./overlay/SearchMarkers.vue"; - -$world.listen(() => {}) -await allTasks() -const { markers, players } = $world.get() ---