position menu wrt the map

This commit is contained in:
vcoppe
2024-04-09 17:37:23 +02:00
parent e5b2c5708d
commit fb343cbbf0
2 changed files with 5 additions and 3 deletions

View File

@@ -10,7 +10,7 @@
let showDirectionMarkers = false;
</script>
<div class="fixed top-2 left-0 right-0 z-10 flex flex-row justify-center pointer-events-none">
<div class="absolute top-2 left-0 right-0 z-10 flex flex-row justify-center pointer-events-none">
<div class="w-fit flex flex-row items-center px-1 bg-background rounded-md pointer-events-auto">
<Logo class="h-5 mt-1 mx-2" />
<Menubar.Root class="border-none">

View File

@@ -3,8 +3,10 @@
import Menu from '$lib/components/Menu.svelte';
</script>
<Menu />
<div class="flex flex-col w-screen h-screen">
<Map class="grow" />
<div class="grow relative">
<Menu />
<Map class="h-full" />
</div>
<div class="h-1/3">Test</div>
</div>