Skip to content

Commit

Permalink
style(search): subtitles are now grey
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Sep 27, 2019
1 parent b36b833 commit 40f0442
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
h4 :ng-deep small {
color: "#8C8C8C";
:host ::ng-deep small {
color: #8C8C8C;
}
6 changes: 3 additions & 3 deletions packages/geo/src/lib/search/shared/sources/icherche.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,10 @@ export class IChercheSearchSource extends SearchSource implements TextSearch {

const titleHtml = data.highlight.title || data.properties.nom;
const subtitleHtml = data.highlight.title2
? ' <small style="color: #6f6969"> ' + data.highlight.title2 + '</small>'
? ' <small> ' + data.highlight.title2 + '</small>'
: '';
const subtitleHtml2 = data.highlight.title3
? '<br><small style="color: #6f6969"> ' + data.highlight.title3 + '</small>'
? '<br><small> ' + data.highlight.title3 + '</small>'
: '';

return {
Expand Down Expand Up @@ -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 = ' <small style="color: #6f6969"> ' + this.getSubtitle(data) + '</small>';
const subtitleHtml = ' <small> ' + this.getSubtitle(data) + '</small>';

return {
source: this,
Expand Down

0 comments on commit 40f0442

Please sign in to comment.