hotfix: update @types/leaflet and adjust map styling

Update package.json to bump @types/leaflet
Define leaflet map z-index directly in the main CSS via apps.cc for consistent component use
Scope all SearchMap.vue styles locally
This commit is contained in:
Kaimbacher 2025-03-17 12:17:47 +01:00
parent b540547e4c
commit 51a5673a3d
4 changed files with 6 additions and 3 deletions

2
package-lock.json generated
View file

@ -70,7 +70,7 @@
"@types/clamscan": "^2.0.4",
"@types/escape-html": "^1.0.4",
"@types/fs-extra": "^11.0.4",
"@types/leaflet": "^1.9.3",
"@types/leaflet": "^1.9.16",
"@types/luxon": "^3.4.2",
"@types/node": "^22.10.2",
"@types/proxy-addr": "^2.0.0",

View file

@ -39,7 +39,7 @@
"@types/clamscan": "^2.0.4",
"@types/escape-html": "^1.0.4",
"@types/fs-extra": "^11.0.4",
"@types/leaflet": "^1.9.3",
"@types/leaflet": "^1.9.16",
"@types/luxon": "^3.4.2",
"@types/node": "^22.10.2",
"@types/proxy-addr": "^2.0.0",

View file

@ -109,6 +109,9 @@
--radius: 15;
--pi: 3.14159265358979;
}
.leaflet-container .leaflet-pane {
z-index: 30!important;
}
/* @layer base {
html,

View file

@ -282,7 +282,7 @@ const handleDrawEventCreated = async (event) => {
</template>
<style lang="css">
<style scoped lang="css">
/* .leaflet-container {
height: 600px;
width: 100%;