aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/Map.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-01 19:37:05 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-01 19:37:05 -0700
commitd01f563d3909582acbcfd4fe20fa271ee224aba3 (patch)
tree468ade64f1ab5196cafa9a8c31c3584928e9e3d4 /modern/src/map/Map.js
parent336c00ac843da828728be7c5e1333d176f41fe51 (diff)
downloadtrackermap-web-d01f563d3909582acbcfd4fe20fa271ee224aba3.tar.gz
trackermap-web-d01f563d3909582acbcfd4fe20fa271ee224aba3.tar.bz2
trackermap-web-d01f563d3909582acbcfd4fe20fa271ee224aba3.zip
Fix map attribution
Diffstat (limited to 'modern/src/map/Map.js')
-rw-r--r--modern/src/map/Map.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/src/map/Map.js b/modern/src/map/Map.js
index d796c323..2c82ea03 100644
--- a/modern/src/map/Map.js
+++ b/modern/src/map/Map.js
@@ -18,6 +18,7 @@ import usePersistedState, { savePersistedState } from '../common/usePersistedSta
const element = document.createElement('div');
element.style.width = '100%';
element.style.height = '100%';
+element.style.boxSizing = 'initial';
export const map = new maplibregl.Map({
container: element,