small ui fixes

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

View File

@@ -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

View File

@@ -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