Skip to content

Commit

Permalink
CSS map embedded πŸ›
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentlaine committed Jun 11, 2024
1 parent 3850f26 commit 910938c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/components/carte/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -337,8 +337,8 @@ watch(() => props.date, () => {
</div>
</div>
<div class="fr-grid-row fr-grid-row--gutters">
<div class="fr-col-12 fr-col-lg-9" style="position:relative; height: 75vh"
:style="embedded ? 'height: 90vh' : 'height: 75vh'">
<div class="fr-col-12 fr-col-lg-9" style="position:relative;"
:style="embedded ? 'height: calc(100vh - 125px)' : 'height: 75vh'">
<div class="map-wrap" :class="embedded ? 'map-wrap-embedded' : ''">
<div class="map" ref="mapContainer"></div>
</div>
Expand Down Expand Up @@ -390,7 +390,7 @@ watch(() => props.date, () => {
left: -32px;
&-embedded {
height: calc(100vh - 120px);
height: calc(100vh - 125px - 12px);
}
.map {
Expand Down

0 comments on commit 910938c

Please sign in to comment.