fix station styling

This commit is contained in:
2026-04-28 08:30:55 -06:00
parent 1cd6bcbd78
commit 070917d8f7
2 changed files with 6 additions and 4 deletions
+4 -3
View File
@@ -90,9 +90,10 @@
}
.station {
background-color: var(--color);
width: 10px;
height: 10px;
background-color: white;
outline: 2px solid var(--color);
width: 5px;
height: 5px;
border-radius: 999px;
}
</style>
+2 -1
View File
@@ -60,7 +60,8 @@ for (const station of stations) {
zIndexOffset: 2000,
icon: L.divIcon({
className: "",
html: `<div class="station" style="--color: ${color};"></div>`
html: `<div class="station" style="--color: ${color};"></div>`,
iconSize: [5, 5],
})
}).addTo(map)
}