fix station styling

This commit is contained in:
cjdenio committed 2026-04-28 08:30:55 -06:00
1 parent 1cd6bcbd78
commit 070917d8f7
2 files changed
+6 -4

No files matched your search

+4 -3
View File
@@ -90,9 +90,10 @@
} }
.station { .station {
background-color: var(--color); background-color: white;
width: 10px; outline: 2px solid var(--color);
height: 10px; width: 5px;
height: 5px;
border-radius: 999px; border-radius: 999px;
} }
</style> </style>
+2 -1
View File
@@ -60,7 +60,8 @@ for (const station of stations) {
zIndexOffset: 2000, zIndexOffset: 2000,
icon: L.divIcon({ icon: L.divIcon({
className: "", className: "",
html: `<div class="station" style="--color: ${color};"></div>` html: `<div class="station" style="--color: ${color};"></div>`,
iconSize: [5, 5],
}) })
}).addTo(map) }).addTo(map)
} }