mirror of
https://github.com/brianshea2/meshmap.net.git
synced 2024-11-14 01:24:13 -08:00
use default tooltip opacity and z-index
This commit is contained in:
parent
c4e1490dda
commit
ff4e8838ca
|
@ -71,9 +71,6 @@
|
||||||
.leaflet-top {
|
.leaflet-top {
|
||||||
top: 4em;
|
top: 4em;
|
||||||
}
|
}
|
||||||
.leaflet-tooltip-pane {
|
|
||||||
z-index: 750;
|
|
||||||
}
|
|
||||||
.leaflet-tooltip, .leaflet-popup-content {
|
.leaflet-tooltip, .leaflet-popup-content {
|
||||||
font-family: "Roboto", sans-serif;
|
font-family: "Roboto", sans-serif;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
@ -288,7 +285,7 @@
|
||||||
</tbody></table>
|
</tbody></table>
|
||||||
`
|
`
|
||||||
L.polyline([position, markersByNode[neighborNum].getLatLng()], {weight: 4})
|
L.polyline([position, markersByNode[neighborNum].getLatLng()], {weight: 4})
|
||||||
.bindTooltip(neighborContent, {sticky: true, opacity: 1.0})
|
.bindTooltip(neighborContent, {sticky: true})
|
||||||
.on('click', () => showNode(neighborNum))
|
.on('click', () => showNode(neighborNum))
|
||||||
.addTo(detailsLayer)
|
.addTo(detailsLayer)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue