mirror of https://github.com/jlelse/GoBlog
Update Leaflet
This commit is contained in:
parent
ac0464dd8c
commit
08da511717
|
@ -16,7 +16,7 @@ ADD plugins/ /app/plugins/
|
|||
|
||||
FROM buildbase as build
|
||||
|
||||
RUN go build -ldflags '-w -s -X tailscale.com/version.Long=GoBlog' -o GoBlog
|
||||
RUN go build -ldflags '-w -s' -o GoBlog
|
||||
|
||||
FROM build as test
|
||||
|
||||
|
|
|
@ -423,8 +423,11 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|||
.leaflet-control-attribution a:focus {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.leaflet-control-attribution svg {
|
||||
.leaflet-attribution-flag {
|
||||
display: inline !important;
|
||||
vertical-align: baseline !important;
|
||||
width: 1em;
|
||||
height: 0.6669em;
|
||||
}
|
||||
.leaflet-left .leaflet-control-scale {
|
||||
margin-left: 5px;
|
||||
|
@ -537,8 +540,6 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|||
}
|
||||
.leaflet-popup-scrolled {
|
||||
overflow: auto;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-top: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.leaflet-oldie .leaflet-popup-content-wrapper {
|
||||
|
@ -652,6 +653,6 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|||
/* Prevent printers from removing background-images of controls. */
|
||||
.leaflet-control {
|
||||
-webkit-print-color-adjust: exact;
|
||||
color-adjust: exact;
|
||||
print-color-adjust: exact;
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -99,12 +99,12 @@
|
|||
// CSS
|
||||
let css = document.createElement('link')
|
||||
css.rel = 'stylesheet'
|
||||
css.href = '/-/leaflet/leaflet.css?v=1.8.0'
|
||||
css.href = '/-/leaflet/leaflet.css?v=1.9.2'
|
||||
document.head.appendChild(css)
|
||||
|
||||
// JS
|
||||
let script = document.createElement('script')
|
||||
script.src = '/-/leaflet/leaflet.js?v=1.8.0'
|
||||
script.src = '/-/leaflet/leaflet.js?v=1.9.2'
|
||||
script.onload = loadMap
|
||||
document.head.appendChild(script)
|
||||
})()
|
Loading…
Reference in New Issue