Chore: housekeeping

This commit is contained in:
Pieter Vander Vennet 2025-02-10 02:04:58 +01:00
parent cd9e03dd6f
commit b300fffdc5
156 changed files with 4436 additions and 1318 deletions

View file

@ -67,11 +67,11 @@
}}
on:touchstart={(e) => onPosChange(e.touches[0].clientX, e.touches[0].clientY)}
>
<div class="absolute top-0 left-0 h-full w-full cursor-pointer">
<div class="absolute left-0 top-0 h-full w-full cursor-pointer">
<MaplibreMap mapProperties={mla} {map} />
</div>
<div bind:this={directionElem} class="absolute top-0 left-0 h-full w-full">
<div bind:this={directionElem} class="absolute left-0 top-0 h-full w-full">
<Direction_stroke />
</div>
</div>

View file

@ -88,8 +88,8 @@
}
</script>
<div class="min-h-32 relative h-full cursor-pointer overflow-hidden">
<div class="absolute top-0 left-0 h-full w-full cursor-pointer">
<div class="relative h-full min-h-32 cursor-pointer overflow-hidden">
<div class="absolute left-0 top-0 h-full w-full cursor-pointer">
<MaplibreMap
center={{ lng: initialCoordinate.lon, lat: initialCoordinate.lat }}
{map}
@ -98,7 +98,7 @@
</div>
<div
class="pointer-events-none absolute top-0 left-0 flex h-full w-full items-center p-8 opacity-50"
class="pointer-events-none absolute left-0 top-0 flex h-full w-full items-center p-8 opacity-50"
>
<slot name="image">
<Move_arrows class="h-full max-h-24" />

View file

@ -189,7 +189,7 @@
<!-- Top-left cell -->
<slot name="top-left">
<button
class="absolute top-0 left-0 rounded-full p-1"
class="absolute left-0 top-0 rounded-full p-1"
on:click={() => value.set([])}
style="z-index: 10"
>

View file

@ -35,7 +35,7 @@
<OHTable value={state.normalOhs} />
<button
on:click={() => expanded.set(false)}
class="primary pointer-events-auto absolute left-0 bottom-0 h-8 w-10 rounded-full"
class="primary pointer-events-auto absolute bottom-0 left-0 h-8 w-10 rounded-full"
>
<Check class="m-0 h-6 w-6 shrink-0 p-0" color="white" />
</button>