adds map view for lists

This commit is contained in:
Christian Beutel
2024-03-21 12:01:41 +01:00
parent c7cc33b3e6
commit 01dfea0a03
12 changed files with 220 additions and 50 deletions

View File

@@ -142,7 +142,7 @@
const cityItems = response.results[1].hits.map(
(c: Record<string, any>) => ({
text: c.name,
description: `City | ${
description: `City | ${c.division} | ${
country_codes[
c["country code"] as keyof typeof country_codes
]
@@ -341,8 +341,4 @@
height: calc(100vh - 124px);
}
}
:global(.leaflet-popup-content) {
width: max-content !important;
max-width: 100%;
}
</style>