Skip to content

Commit

Permalink
fix: map on the entity/id page as no overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviareichl committed Aug 13, 2024
1 parent 2a4fa78 commit a44228f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/entity-geo-map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const features = computed(() => {
</script>

<template>
<Card class="h-full">
<Card class="h-96 overflow-hidden">
<VisualisationContainer v-slot="{ height, width }">
<GeoMap
v-if="height && width"
Expand Down
2 changes: 1 addition & 1 deletion pages/entity/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ const typesById = computed(() => {
</TabsTrigger>
</TabsList>
<!-- TODO: keep map alive -->
<TabsContent v-for="tab of tabs" :key="tab.id" class="h-full max-h-full" :value="tab.id">
<TabsContent v-for="tab of tabs" :key="tab.id" :value="tab.id">
<EntityGeoMap v-if="tab.id === 'geo-map'" :entities="entities" />
<EntityImages
v-else-if="tab.id === 'images' && entity.depictions"
Expand Down

0 comments on commit a44228f

Please sign in to comment.