Properly handle a long title in a stats card

This commit is contained in:
gregoirenovel 2018-09-05 14:31:19 +02:00
parent 21776e360b
commit 80c35c284f
2 changed files with 6 additions and 1 deletions

View file

@ -128,6 +128,11 @@ $big-number-card-padding: 2 * $segmented-control-item-border-radius;
margin: 0 auto;
margin-bottom: 20px;
color: $light-grey;
&.long-title {
margin-left: -30px;
margin-right: -30px;
}
}
.big-number-card-number {

View file

@ -6,7 +6,7 @@
.stat-cards
.stat-card.stat-card-half.big-number-card.pull-left
%span.big-number-card-title TOTAL DÉMARCHES DÉMATÉRIALISÉES OU EN COURS DE DÉMATÉRIALISATION
%span.big-number-card-title.long-title TOTAL DÉMARCHES DÉMAT. OU EN COURS DE DÉMAT.
%span.big-number-card-number
= number_with_delimiter(@procedures_numbers[:total])
%span.big-number-card-detail