Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSLUX-671: Fix modale display #88

Merged
merged 2 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bundle/lux.dist.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31587,7 +31587,7 @@ const VF = /* @__PURE__ */ ar({
id: "map-container",
ref_key: "mapContainer",
ref: n,
class: "h-full w-full bg-white absolute"
class: "h-full w-full bg-white relative"
}, [
Ft(FF),
Ft(UF, { extent: s }),
Expand Down Expand Up @@ -37567,7 +37567,7 @@ const L7 = { class: "h-screen flex flex-col overflow-hidden" }, D7 = { class: "f
Ye(" Map container and slider comparator "),
ze("div", z7, [
Ft(GF, { v4_standalone: !0 }),
Ft(y9),
Ft(y9, { class: "absolute top-0" }),
Ft(U8),
Ft(PV)
]),
Expand Down
4 changes: 2 additions & 2 deletions bundle/lux.dist.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
// the utility function traverseLayer is used as a workaround until OL is updated to 6.15
// then the function getAllLayers below (added in OL v.6.10.0) can be used
// map.getAllLayers().forEach(layer => {
traverseLayer(map.getLayerGroup(), [], (layer: any) => {

Check warning on line 59 in src/App.vue

View workflow job for this annotation

GitHub Actions / build-lint-test

Unexpected any. Specify a different type
if (layer instanceof MapLibreLayer) {
;(layer as MapLibreLayer).getMapLibreMap().resize()
}
Expand Down Expand Up @@ -85,7 +85,7 @@
<!-- Map container and slider comparator -->
<div class="map-wrapper grow bg-blue-100 relative">
<map-container :v4_standalone="true" />
<slider-comparator />
<slider-comparator class="absolute top-0" />
<remote-layers />
<layer-metadata />
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/components/map/map-container.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ provide('olMap', olMap)
id="map-container"
data-cy="mapContainer"
ref="mapContainer"
class="h-full w-full bg-white absolute"
class="h-full w-full bg-white relative"
>
<zoom-control />
<zoom-to-extent-control :extent="DEFAULT_EXTENT" />
Expand Down
Loading