diff --git a/vacs-map-app/src/LandingPage.vue b/vacs-map-app/src/LandingPage.vue index e0673e0..44994ac 100644 --- a/vacs-map-app/src/LandingPage.vue +++ b/vacs-map-app/src/LandingPage.vue @@ -2,7 +2,7 @@
diff --git a/vacs-map-app/src/MapExplorer.vue b/vacs-map-app/src/MapExplorer.vue index b75486a..0044645 100644 --- a/vacs-map-app/src/MapExplorer.vue +++ b/vacs-map-app/src/MapExplorer.vue @@ -21,6 +21,7 @@ + @@ -39,9 +40,10 @@ import MapContainerColorSoil from '@/components/MapContainerColorSoil.vue' import MapContainerColorSand from '@/components/MapContainerColorSand.vue' import MapContainerColorPopulation from '@/components/MapContainerColorPopulation.vue' import { useMapExploreStore } from '@/stores/mapExplore' -import LayoutOverview from './components/layouts/LayoutOverview.vue' -import ExploreSidebar from './components/ExploreSidebar.vue' -import RegionPicker from './components/RegionPicker.vue' +import LayoutOverview from '@/components/layouts/LayoutOverview.vue' +import ExploreSidebar from '@/components/ExploreSidebar.vue' +import RegionPicker from '@/components/RegionPicker.vue' +import MapTooltip from '@/components/MapTooltip.vue' import MapLegend from '@/components/MapLegend.vue' const availableMaps = [ diff --git a/vacs-map-app/src/assets/img/info.svg b/vacs-map-app/src/assets/img/info.svg new file mode 100644 index 0000000..e482390 --- /dev/null +++ b/vacs-map-app/src/assets/img/info.svg @@ -0,0 +1,4 @@ + + + + diff --git a/vacs-map-app/src/components/ContentModal.vue b/vacs-map-app/src/components/ContentModal.vue index d4f17ec..518c9cf 100644 --- a/vacs-map-app/src/components/ContentModal.vue +++ b/vacs-map-app/src/components/ContentModal.vue @@ -62,6 +62,8 @@ onClickOutside(contentInnerRef, () => emit('close')) overflow-y: auto; max-width: 50%; padding: 2.5rem; + + white-space: pre-line; } .header { diff --git a/vacs-map-app/src/components/DistributionPlot.vue b/vacs-map-app/src/components/DistributionPlot.vue index 651c044..466c25f 100644 --- a/vacs-map-app/src/components/DistributionPlot.vue +++ b/vacs-map-app/src/components/DistributionPlot.vue @@ -156,7 +156,7 @@ const draw = () => { //draw hovered if (hoveredId.value) { - const cell = gridCells?.value.find(d => d.id === hoveredId.value); + const cell = gridCells?.value.find((d) => d.id === hoveredId.value) context.value.fillStyle = 'white' context.value.fillRect(cell.x, 0, 3, height.value) } diff --git a/vacs-map-app/src/components/ExploreSidebar.vue b/vacs-map-app/src/components/ExploreSidebar.vue index c52a5bc..2c9e0e2 100644 --- a/vacs-map-app/src/components/ExploreSidebar.vue +++ b/vacs-map-app/src/components/ExploreSidebar.vue @@ -14,7 +14,15 @@