diff --git a/src/components/grw-app/grw-app.scss b/src/components/grw-app/grw-app.scss index 4988ef3..350ff90 100644 --- a/src/components/grw-app/grw-app.scss +++ b/src/components/grw-app/grw-app.scss @@ -17,6 +17,8 @@ grw-app { position: relative; width: 100%; height: 100%; + max-width: 100vw; + max-height: 100vh; overflow: hidden; } diff --git a/src/components/grw-poi-detail/grw-poi-detail.scss b/src/components/grw-poi-detail/grw-poi-detail.scss index 6660e04..9e79e78 100644 --- a/src/components/grw-poi-detail/grw-poi-detail.scss +++ b/src/components/grw-poi-detail/grw-poi-detail.scss @@ -2,6 +2,10 @@ @use '~swiper/modules/navigation/navigation.scss'; @use '~swiper/modules/pagination/pagination.scss'; +.swiper { + z-index: 0; +} + .material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48; } diff --git a/src/components/grw-trek-detail/grw-trek-detail.scss b/src/components/grw-trek-detail/grw-trek-detail.scss index 30bc904..1b7a35a 100644 --- a/src/components/grw-trek-detail/grw-trek-detail.scss +++ b/src/components/grw-trek-detail/grw-trek-detail.scss @@ -2,6 +2,18 @@ @use '~swiper/modules/navigation/navigation.scss'; @use '~swiper/modules/pagination/pagination.scss'; +.swiper { + z-index: 0; +} + +.swiper-images { + width: calc(100%); +} + +.swiper-pois { + width: calc(100% - 64px); +} + .material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48; } diff --git a/src/components/grw-trek-detail/grw-trek-detail.tsx b/src/components/grw-trek-detail/grw-trek-detail.tsx index a81f28d..1c4d1d3 100644 --- a/src/components/grw-trek-detail/grw-trek-detail.tsx +++ b/src/components/grw-trek-detail/grw-trek-detail.tsx @@ -363,7 +363,7 @@ export class GrwTrekDetail { {this.currentTrek && (
(this.trekDetailContainerRef = el)}>
(this.presentationRef = el)}> -
(this.swiperImagesRef = el)}> +
(this.swiperImagesRef = el)}>
{this.currentTrek.attachments .filter(attachment => attachment.type === 'image') diff --git a/src/global/global.scss b/src/global/global.scss index c1791d4..55f38f4 100644 --- a/src/global/global.scss +++ b/src/global/global.scss @@ -10,10 +10,6 @@ src: url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGY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