mirror of
https://github.com/traccar/traccar-web.git
synced 2025-01-08 12:07:27 +08:00
Aling components horizontally
This commit is contained in:
parent
5ee1310a8e
commit
48c9aa5765
@ -24,6 +24,15 @@ export const map = new maplibregl.Map({
|
||||
container: element,
|
||||
});
|
||||
|
||||
map.on('load', () => {
|
||||
const container = document.querySelector('.maplibregl-ctrl-bottom-right');
|
||||
if (container) {
|
||||
container.style.display = 'flex';
|
||||
container.style.flexDirection = 'row';
|
||||
container.style.alignItems = 'flex-end';
|
||||
}
|
||||
});
|
||||
|
||||
let ready = false;
|
||||
const readyListeners = new Set();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user