Skip to content

Commit

Permalink
fix iframes for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Sep 7, 2023
1 parent fbfb7dc commit f7dd9b7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/components/charts/chartController.vue
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export default {
if ( this.$route.path.startsWith( '/map' ) ) {
return 'scaled-iframe'
} else {
return ''
return 'building-iframe'
}
},
promise: {
Expand Down Expand Up @@ -353,4 +353,14 @@ export default {
transform: scale(0.4);
transform-origin: top left;
}
.building-iframe {
height: 600px;
width: 1000px;
}
@media only screen and (max-width: 600px) {
.building-iframe {
height: 600px;
width: 600px;
}
}
</style>

0 comments on commit f7dd9b7

Please sign in to comment.