Skip to content

Commit

Permalink
Merge pull request #112 from earthrise-media/explore-layout-update
Browse files Browse the repository at this point in the history
Update explore page layout
  • Loading branch information
Martin Bernard authored Dec 6, 2023
2 parents 8a6c751 + 8f5cdbf commit 6c568d9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
9 changes: 7 additions & 2 deletions vacs-map-app/src/MapExplorer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</template>
</component>
<div class="overlay-wrapper">
<OverviewTop class="interactive" />
<OverviewTop class="interactive"/>
<div class="map-overlay desktop">
<div class="overlay-left">
<ExploreSidebar class="interactive" ref="overlayLeftRef" />
Expand Down Expand Up @@ -123,6 +123,7 @@ onUnmounted(() => {
}
.map-overlay {
height: 1rem;
flex-grow: 1;
display: flex;
justify-content: space-between;
Expand All @@ -131,8 +132,12 @@ onUnmounted(() => {
}
.overlay-left {
height: 100%;
margin-left: var(--page-horizontal-margin);
display: flex;
flex-direction: row;
flex-direction: column;
flex-wrap: wrap;
justify-content: space-between;
align-items: flex-end;
gap: 2rem;
}
Expand Down
1 change: 1 addition & 0 deletions vacs-map-app/src/components/CropFingerprint.vue
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ const arc = computed(() => {
}
.svg-wrapper {
height: 100%;
margin-top: 1rem;
}
svg {
Expand Down
2 changes: 1 addition & 1 deletion vacs-map-app/src/components/ExploreSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const openScenarioModal = (s) => {
gap: 1rem;
justify-content: space-between;
height: 100%;
margin-left: var(--page-horizontal-margin);
max-height: 50rem;
padding: 1.25rem;
width: 450px;
border: 1px solid var(--dark-gray);
Expand Down
1 change: 1 addition & 0 deletions vacs-map-app/src/components/MapLegend.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const openYieldRatioModal = () => {
flex-direction: column;
gap: 0.25rem;
width: 18rem;
margin-top: auto;
}
.legend-title {
Expand Down

0 comments on commit 6c568d9

Please sign in to comment.