aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-10-05 22:50:08 -0700
committerAdam Soltys <[email protected]>2023-10-05 22:50:08 -0700
commit6b8b3320016e495ee12c2de079fd1157a228690f (patch)
tree76fc03a7b994d3268debe4955b48eef510671ed0 /src
parentf03caed2a9e730d30770c749cae33d26103fd36c (diff)
downloadcoinos-ui-6b8b3320016e495ee12c2de079fd1157a228690f.tar.gz
coinos-ui-6b8b3320016e495ee12c2de079fd1157a228690f.zip
remove outline
Diffstat (limited to 'src')
-rw-r--r--src/components/LocationsMap.svelte15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/components/LocationsMap.svelte b/src/components/LocationsMap.svelte
index 329f832a..11a3f8c0 100644
--- a/src/components/LocationsMap.svelte
+++ b/src/components/LocationsMap.svelte
@@ -93,9 +93,9 @@
markers.push(marker);
});
- updateLabelVisibility();
- map.on('moveend', updateLabelVisibility);
- map.on('zoomend', updateLabelVisibility);
+ // updateLabelVisibility();
+ // map.on('moveend', updateLabelVisibility);
+ // map.on('zoomend', updateLabelVisibility);
});
});
}
@@ -103,8 +103,8 @@
onDestroy(() => {
if (map) {
- map.off('moveend', updateLabelVisibility);
- map.off('zoomend', updateLabelVisibility);
+ // map.off('moveend', updateLabelVisibility);
+ // map.off('zoomend', updateLabelVisibility);
map.remove();
}
});
@@ -122,9 +122,12 @@
padding: 8px;
}
+ :global(.maplibregl-popup :focus) {
+ outline: none;
+ }
+
:global(.maplibregl-popup-content) {
padding: 0.5em 1em;
- border: 1px solid black;
border-radius: 4px;
font-size: 14px;
color: black;