Skip to content

Commit

Permalink
add max size on app container size
Browse files Browse the repository at this point in the history
  • Loading branch information
bastyen committed Jul 4, 2023
1 parent 9d1c15d commit 3486b70
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/components/grw-app/grw-app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ grw-app {
position: relative;
width: 100%;
height: 100%;
max-width: 100vw;
max-height: 100vh;
overflow: hidden;
}

Expand Down
4 changes: 4 additions & 0 deletions src/components/grw-poi-detail/grw-poi-detail.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
12 changes: 12 additions & 0 deletions src/components/grw-trek-detail/grw-trek-detail.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/grw-trek-detail/grw-trek-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ export class GrwTrekDetail {
{this.currentTrek && (
<div class="trek-detail-container" ref={el => (this.trekDetailContainerRef = el)}>
<div class="images-container" ref={el => (this.presentationRef = el)}>
<div class="swiper" ref={el => (this.swiperImagesRef = el)}>
<div class="swiper swiper-images" ref={el => (this.swiperImagesRef = el)}>
<div class="swiper-wrapper">
{this.currentTrek.attachments
.filter(attachment => attachment.type === 'image')
Expand Down
4 changes: 0 additions & 4 deletions src/global/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADy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AYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');
}

.swiper {
z-index: 0;
}

:root {
--app-width: 100%;
--app-height: 100vh;
Expand Down

0 comments on commit 3486b70

Please sign in to comment.