From 26f403df260406b4de89fec017ad33613b66bc73 Mon Sep 17 00:00:00 2001 From: Hugo SUBTIL <ext.sopra.husubtil@grandlyon.com> Date: Mon, 1 Feb 2021 11:57:42 +0100 Subject: [PATCH] fix: add capitalize on structure card name --- src/app/structure-list/components/card/card.component.html | 2 +- src/app/structure-list/components/card/card.component.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/structure-list/components/card/card.component.html b/src/app/structure-list/components/card/card.component.html index cfc62451e..b9bc6cc92 100644 --- a/src/app/structure-list/components/card/card.component.html +++ b/src/app/structure-list/components/card/card.component.html @@ -1,6 +1,6 @@ <div class="structure" fxLayout="column" (click)="cardClicked()" (mouseenter)="cardHover()"> <div class="headerStructure" fxLayout="row" fxLayoutAlign="space-between center" fxLayoutGap="16px"> - <span class="nomStructure">{{ structure.structureName }}</span> + <span class="structure-name">{{ structure.structureName }}</span> <div *ngIf="structure.distance" class="distanceStructure" diff --git a/src/app/structure-list/components/card/card.component.scss b/src/app/structure-list/components/card/card.component.scss index 4bae4df3d..ac49fb154 100644 --- a/src/app/structure-list/components/card/card.component.scss +++ b/src/app/structure-list/components/card/card.component.scss @@ -11,12 +11,13 @@ color: $grey-3; @include cn-regular-16; } - .nomStructure { + .structure-name { padding-top: 13px; color: $grey-1; @include cn-bold-20; padding-bottom: 5px; width: 100%; + text-transform: capitalize; } .distanceStructure { @include cn-regular-16; -- GitLab