High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
pin fix (#5909)
waclaw662790a46703af
diff --git a/web/src/lib/components/shared-components/map/map.svelte b/web/src/lib/components/shared-components/map/map.svelteindex a884db55b9..956061b0b3 100644--- a/web/src/lib/components/shared-components/map/map.svelte+++ b/web/src/lib/components/shared-components/map/map.svelte@@ -167,7 +167,11 @@}}>{#if useLocationPin}- <Icon path={mdiMapMarker} size="60px" class="dark:text-immich-dark-primary text-immich-primary" />+ <Icon+ path={mdiMapMarker}+ size="50px"+ class="location-pin dark:text-immich-dark-primary text-immich-primary"+ />{:else}<imgsrc={api.getAssetThumbnailUrl(feature.properties?.id)}@@ -175,13 +179,18 @@alt={`Image with id ${feature.properties?.id}`}/>{/if}-{#if $$slots.popup}- <Popup openOn="click" closeOnClickOutside>+ <Popup offset={[0, -30]} openOn="click" closeOnClickOutside><slot name="popup" marker={asMarker(feature)} /></Popup>{/if}</MarkerLayer></GeoJSON></MapLibre>+ <style>+ .location-pin {+ transform: translate(0, -50%);+ filter: drop-shadow(0 3px 3px rgb(0 0 0 / 0.3));+ }+ </style>{/await}