From 40f044238802b6ce5a153f2ca49939613a567df4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Barbeau?= Date: Thu, 26 Sep 2019 20:52:19 -0400 Subject: [PATCH] style(search): subtitles are now grey --- .../search-results/search-results-item.component.scss | 4 ++-- packages/geo/src/lib/search/shared/sources/icherche.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/geo/src/lib/search/search-results/search-results-item.component.scss b/packages/geo/src/lib/search/search-results/search-results-item.component.scss index 34d59dc0ac..a5e1cadfa9 100644 --- a/packages/geo/src/lib/search/search-results/search-results-item.component.scss +++ b/packages/geo/src/lib/search/search-results/search-results-item.component.scss @@ -1,3 +1,3 @@ -h4 :ng-deep small { - color: "#8C8C8C"; +:host ::ng-deep small { + color: #8C8C8C; } diff --git a/packages/geo/src/lib/search/shared/sources/icherche.ts b/packages/geo/src/lib/search/shared/sources/icherche.ts index 66aa049e88..02f95be41e 100644 --- a/packages/geo/src/lib/search/shared/sources/icherche.ts +++ b/packages/geo/src/lib/search/shared/sources/icherche.ts @@ -284,10 +284,10 @@ export class IChercheSearchSource extends SearchSource implements TextSearch { const titleHtml = data.highlight.title || data.properties.nom; const subtitleHtml = data.highlight.title2 - ? ' ' + data.highlight.title2 + '' + ? ' ' + data.highlight.title2 + '' : ''; const subtitleHtml2 = data.highlight.title3 - ? '
' + data.highlight.title3 + '' + ? '
' + data.highlight.title3 + '' : ''; return { @@ -539,7 +539,7 @@ export class IChercheReverseSearchSource extends SearchSource const id = [this.getId(), properties.type, properties.code].join('.'); const titleHtml = data.properties.nom; - const subtitleHtml = ' ' + this.getSubtitle(data) + ''; + const subtitleHtml = ' ' + this.getSubtitle(data) + ''; return { source: this,