fix(web): map popup accessibility (#21759)

This commit is contained in:
Jason Rasmussen
2025-09-10 08:17:58 -04:00
committed by GitHub
parent cc08ebdf80
commit bee0ae430a
2 changed files with 11 additions and 1 deletions

View File

@@ -169,3 +169,13 @@
filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.8)); filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.8));
} }
} }
.maplibregl-popup {
.maplibregl-popup-tip {
@apply border-t-subtle! translate-y-[-1px];
}
.maplibregl-popup-content {
@apply bg-subtle rounded-lg;
}
}

View File

@@ -525,7 +525,7 @@
<a <a
href="https://www.openstreetmap.org/?mlat={lat}&mlon={lon}&zoom=13#map=15/{lat}/{lon}" href="https://www.openstreetmap.org/?mlat={lat}&mlon={lon}&zoom=13#map=15/{lat}/{lon}"
target="_blank" target="_blank"
class="font-medium text-immich-primary" class="font-medium text-primary underline focus:outline-none"
> >
{$t('open_in_openstreetmap')} {$t('open_in_openstreetmap')}
</a> </a>