From: Sarah Hoffmann Date: Thu, 13 Jan 2022 10:27:39 +0000 (+0100) Subject: fix span columns in details page X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/commitdiff_plain/83955f752c0c4a1ad42be02b559b8f7a717816d4 fix span columns in details page There is a total of 7 columns in the details table. --- diff --git a/src/pages/DetailsPage.svelte b/src/pages/DetailsPage.svelte index 33fb94d..18b1592 100644 --- a/src/pages/DetailsPage.svelte +++ b/src/pages/DetailsPage.svelte @@ -165,18 +165,18 @@ {/if} {#if aPlace.linked_places} -

Linked Places

+

Linked Places

{#each aPlace.linked_places as addressLine} {/each} {/if} {#if !reverse_only} -

Keywords

+

Keywords

{#if api_request_params.keywords} {#if place_has_keywords(aPlace)} -

Name Keywords

+

Name Keywords

{#each aPlace.keywords.name as keyword} {formatKeywordToken(keyword.token)} @@ -187,7 +187,7 @@ {/each} {#if aPlace.keywords.address} -

Address Keywords

+

Address Keywords

{#each aPlace.keywords.address as keyword} {formatKeywordToken(keyword.token)} @@ -210,11 +210,11 @@ {/if} {/if} -

Parent Of

+

Parent Of

{#if api_request_params.hierarchy} {#if aPlace.hierarchy && typeof (aPlace.hierarchy) === 'object' && Object.keys(aPlace.hierarchy).length} {#each Object.keys(aPlace.hierarchy) as type} -

{type}

+

{type}

{#each aPlace.hierarchy[type] as line} {/each}