diff --git a/src/assets/main.scss b/src/assets/main.scss index 78d3bd1..ea73733 100644 --- a/src/assets/main.scss +++ b/src/assets/main.scss @@ -87,11 +87,16 @@ div.loading{ #main-content{ #map-backgrounds{ - .map-bg-canvas{ + .map-bg{ + position: absolute; mix-blend-mode: multiply; // filter: contrast(170%); &.gradient{ // filter: blur(10px); + width:100%; + height:100%; + background-size: 100% 100%; + background-repeat: no-repeat; } &.trame{ // display:none; diff --git a/src/components/MapConcernements.vue b/src/components/MapConcernements.vue index 1e6f247..82c5fc1 100644 --- a/src/components/MapConcernements.vue +++ b/src/components/MapConcernements.vue @@ -3,7 +3,7 @@ // import { mapActions, mapState } from 'pinia' import { computed } from 'vue' import { nextTick } from 'vue' -import MapBackground from '@components/MapBackground.vue' +import MapGradientBackground from '@components/MapGradientBackground.vue' // https://brm.io/matter-js/docs/classes/Engine.html import Matter from "matter-js"; @@ -1478,7 +1478,7 @@ export default { beforeUpdate () { }, components: { - MapBackground, + MapGradientBackground, ConcernementMapPopup, RecitPlayer } @@ -1488,7 +1488,7 @@ export default {