diff options
| author | Adam Soltys <[email protected]> | 2023-10-05 22:50:08 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-10-05 22:50:08 -0700 |
| commit | 6b8b3320016e495ee12c2de079fd1157a228690f (patch) | |
| tree | 76fc03a7b994d3268debe4955b48eef510671ed0 /src/components/LocationsMap.svelte | |
| parent | f03caed2a9e730d30770c749cae33d26103fd36c (diff) | |
| download | coinos-ui-6b8b3320016e495ee12c2de079fd1157a228690f.tar.gz coinos-ui-6b8b3320016e495ee12c2de079fd1157a228690f.zip | |
remove outline
Diffstat (limited to 'src/components/LocationsMap.svelte')
| -rw-r--r-- | src/components/LocationsMap.svelte | 15 |
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; |
