From 9106292ade3ec53e568287c5d72daa0ec7eb9e30 Mon Sep 17 00:00:00 2001 From: Yash Srivastava <52625656+darkshredder@users.noreply.github.com> Date: Wed, 14 Apr 2021 19:23:06 +0530 Subject: [PATCH 1/1] Details page: Use osm type and it as placeholder for unnamed places (#121) --- src/components/DetailsOneRow.svelte | 3 --- src/pages/DetailsPage.svelte | 15 ++++++++++++--- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/components/DetailsOneRow.svelte b/src/components/DetailsOneRow.svelte index 7455245..4c43907 100644 --- a/src/components/DetailsOneRow.svelte +++ b/src/components/DetailsOneRow.svelte @@ -41,9 +41,6 @@ .notused { color:#ddd; } - .noname{ - color:#800; - } td { padding: 2px 8px; diff --git a/src/pages/DetailsPage.svelte b/src/pages/DetailsPage.svelte index 34a7f63..9d72944 100644 --- a/src/pages/DetailsPage.svelte +++ b/src/pages/DetailsPage.svelte @@ -4,7 +4,7 @@ import { osmLink, wikipediaLink, coverageType, isAdminBoundary, - formatAddressRank, formatKeywordToken + formatAddressRank, formatKeywordToken, formatOSMType } from '../lib/helpers.js'; import Header from '../components/Header.svelte'; import MapIcon from '../components/MapIcon.svelte'; @@ -72,7 +72,7 @@