Skip to content

Commit

Permalink
Aling components horizontally
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Sep 12, 2024
1 parent 5ee1310 commit 48c9aa5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/map/core/MapView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Check failure on line 30 in src/map/core/MapView.jsx

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 4 spaces but found 6
container.style.flexDirection = 'row';

Check failure on line 31 in src/map/core/MapView.jsx

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 4 spaces but found 6
container.style.alignItems = 'flex-end';

Check failure on line 32 in src/map/core/MapView.jsx

View workflow job for this annotation

GitHub Actions / build

Expected indentation of 4 spaces but found 6
}
});

let ready = false;
const readyListeners = new Set();

Expand Down

0 comments on commit 48c9aa5

Please sign in to comment.