diff --git a/website/src/lib/components/gpx-layer/WaypointPopup.svelte b/website/src/lib/components/gpx-layer/WaypointPopup.svelte index c2e4152b..f42fe734 100644 --- a/website/src/lib/components/gpx-layer/WaypointPopup.svelte +++ b/website/src/lib/components/gpx-layer/WaypointPopup.svelte @@ -11,6 +11,7 @@ import sanitizeHtml from 'sanitize-html'; import type { Waypoint } from 'gpx'; import type { PopupItem } from '$lib/components/MapPopup'; + import { ScrollArea } from '$lib/components/ui/scroll-area/index.js'; export let waypoint: PopupItem; @@ -43,7 +44,7 @@ {/if} - +
{#if symbolKey} @@ -66,12 +67,14 @@ {/if}
- {#if waypoint.item.desc} - {@html sanitize(waypoint.item.desc)} - {/if} - {#if waypoint.item.cmt && waypoint.item.cmt !== waypoint.item.desc} - {@html sanitize(waypoint.item.cmt)} - {/if} + + {#if waypoint.item.desc} + {@html sanitize(waypoint.item.desc)} + {/if} + {#if waypoint.item.cmt && waypoint.item.cmt !== waypoint.item.desc} + {@html sanitize(waypoint.item.cmt)} + {/if} + {#if $currentTool === Tool.WAYPOINT}