Skip to content

Commit

Permalink
Merge pull request #951 from geoadmin/bugfix-PB-420-topic-info-css
Browse files Browse the repository at this point in the history
PB-420: improve legend css - #patch
  • Loading branch information
ltkum authored Jun 24, 2024
2 parents 3ff6c13 + a1732ef commit 54b3aed
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/modules/menu/components/LayerDescriptionPopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ const body = computed(() => layer.value?.abstract ?? '')
const attributionName = computed(() => layer.value?.attributions[0].name ?? '')
const attributionUrl = computed(() => layer.value?.attributions[0].url ?? '')
const isExternal = computed(() => layer.value?.isExternal ?? false)
const legends = computed(() => layer.value?.legends ?? [])
const legends = computed(() => layer.value?.legends ?? [])
watch(layer, async (newLayer) => {
if (!isExternal.value && layer.value) {
htmlContent.value = await getLayerDescription(currentLang.value, newLayer.id)
Expand Down Expand Up @@ -145,8 +145,11 @@ $spacing: 8px;
}
table {
font-size: 100%;
width: 100%;
width: fit-content;
border: 0;
}
td {
padding-right: 2rem;
}
}
</style>

0 comments on commit 54b3aed

Please sign in to comment.