small ui fixes

This commit is contained in:
vcoppe committed 2026-03-27 21:32:33 +01:00
1 parent 57c4958ff2
commit 7dc834f506
2 files changed
+2 -2

No files matched your search

@@ -68,7 +68,7 @@
<canvas bind:this={overlay} class="w-full h-full absolute pointer-events-none"></canvas> <canvas bind:this={overlay} class="w-full h-full absolute pointer-events-none"></canvas>
<canvas bind:this={canvas} class="w-full h-full absolute"></canvas> <canvas bind:this={canvas} class="w-full h-full absolute"></canvas>
{#if showControls} {#if showControls}
<div class="absolute bottom-10 right-1.5"> <div class="absolute bottom-9 right-2.5">
<Popover.Root> <Popover.Root>
<Popover.Trigger> <Popover.Trigger>
<ButtonWithTooltip <ButtonWithTooltip
@@ -135,7 +135,7 @@
bind:offsetWidth={bottomPanelWidth} bind:offsetWidth={bottomPanelWidth}
class="flex {bottomPanelOrientation == 'vertical' class="flex {bottomPanelOrientation == 'vertical'
? 'flex-col' ? 'flex-col'
: 'flex-row py-2'} gap-1 px-2" : 'flex-row py-2'} gap-1 px-4"
style={$elevationProfile ? `height: ${$bottomPanelSize}px` : ''} style={$elevationProfile ? `height: ${$bottomPanelSize}px` : ''}
> >
<GPXStatistics <GPXStatistics