Skip to content

Commit

Permalink
fix: display map correctly when fullscreen is false
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviareichl committed Jun 6, 2024
1 parent 894de6e commit 7539e65
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion components/data-map-view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ watch(data, () => {

<template>
<div :class="project.fullscreen ? 'relative grid' : 'relative grid grid-rows-[auto_1fr] gap-4'">
<div class="absolute z-10 flex w-full justify-center">
<div :class="project.fullscreen ? 'absolute z-10 flex w-full justify-center' : ''">
<SearchForm
:class="
project.fullscreen
Expand Down
72 changes: 36 additions & 36 deletions project.config.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
{
"colors": {
"brand": "#b8cf5b",
"geojsonPoints": "#69c0ef",
"geojsonAreaCenterPoints": "#b8cf5b",
"entityColors": {
"stratigraphic_unit": "#9723c1",
"place": "#69c0ef",
"acquisition": "#6a040f",
"activity": "#9d0208",
"move": "#e85d04",
"artifact": "#ee6c4d",
"human_remains": "#3d0066",
"person": "#ffca3a",
"feature": "#b8cf5b",
"event": "#ff595e",
"type": "#6a4c93",
"source": "#D60C19",
"file": "#9d4edd",
"group": "#f48c06"
},
"entityDefaultColor": "#666",
"disabledNodeColor": "rgb(400, 400, 400)"
},
"map": {
"startPage": true
},
"fullscreen": true,
"defaultLocale": "en",
"logos": {
"light": "/assets/images/logo.svg",
"dark": "/assets/images/logo.svg",
"withTextLight": "/assets/images/logo-with-text-light.svg",
"withTextDark": "/assets/images/logo-with-text-dark.svg"
},
"imprint": "acdh-ch",
"twitter": "@openatlas_eu"
"colors": {
"brand": "#b8cf5b",
"geojsonPoints": "#69c0ef",
"geojsonAreaCenterPoints": "#b8cf5b",
"entityColors": {
"stratigraphic_unit": "#9723c1",
"place": "#69c0ef",
"acquisition": "#6a040f",
"activity": "#9d0208",
"move": "#e85d04",
"artifact": "#ee6c4d",
"human_remains": "#3d0066",
"person": "#ffca3a",
"feature": "#b8cf5b",
"event": "#ff595e",
"type": "#6a4c93",
"source": "#D60C19",
"file": "#9d4edd",
"group": "#f48c06"
},
"entityDefaultColor": "#666",
"disabledNodeColor": "rgb(400, 400, 400)"
},
"map": {
"startPage": false
},
"fullscreen": false,
"defaultLocale": "en",
"logos": {
"light": "/assets/images/logo.svg",
"dark": "/assets/images/logo.svg",
"withTextLight": "/assets/images/logo-with-text-light.svg",
"withTextDark": "/assets/images/logo-with-text-dark.svg"
},
"imprint": "acdh-ch",
"twitter": "@openatlas_eu"
}

0 comments on commit 7539e65

Please sign in to comment.