Skip to content

Commit

Permalink
made sure that the IndoorMap is no longer artifically constrained to …
Browse files Browse the repository at this point in the history
…aspect-4/3
  • Loading branch information
CommanderStorm committed Dec 15, 2024
1 parent e86b679 commit fa0b2c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webclient/app/components/IndoorMap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ async function initMap(containerId: string): Promise<Map> {
<template>
<div
id="interactive-map-container"
class="mb-2.5 aspect-4/3 print:!hidden"
class="print:!hidden"
:class="{
'dark:bg-black bg-white border-zinc-300 border': webglSupport,
'bg-red-300 text-red-950': !webglSupport,
Expand All @@ -198,7 +198,7 @@ async function initMap(containerId: string): Promise<Map> {
}
> div {
padding-bottom: 75%; /* 4:3 aspect ratio */
padding-bottom: calc(100vh - 150px); /* 4:3 aspect ratio */
}
&.maximize {
Expand Down

0 comments on commit fa0b2c7

Please sign in to comment.