From 8f5cdbf40f0078a582045b025829206314e30edc Mon Sep 17 00:00:00 2001 From: mwbernard Date: Tue, 5 Dec 2023 10:43:36 -0800 Subject: [PATCH] Adjust explore layout to not have overflow --- vacs-map-app/src/MapExplorer.vue | 9 +++++++-- vacs-map-app/src/components/MapLegend.vue | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/vacs-map-app/src/MapExplorer.vue b/vacs-map-app/src/MapExplorer.vue index 1b89a04..a9e88e2 100644 --- a/vacs-map-app/src/MapExplorer.vue +++ b/vacs-map-app/src/MapExplorer.vue @@ -9,7 +9,7 @@
- +
@@ -123,6 +123,7 @@ onUnmounted(() => { } .map-overlay { + height: 1rem; flex-grow: 1; display: flex; justify-content: space-between; @@ -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; } diff --git a/vacs-map-app/src/components/MapLegend.vue b/vacs-map-app/src/components/MapLegend.vue index 4a2d728..d1d95fe 100644 --- a/vacs-map-app/src/components/MapLegend.vue +++ b/vacs-map-app/src/components/MapLegend.vue @@ -65,6 +65,7 @@ const openYieldRatioModal = () => { flex-direction: column; gap: 0.25rem; width: 18rem; + margin-top: auto; } .legend-title {