Properly handle a long title in a stats card
This commit is contained in:
parent
21776e360b
commit
80c35c284f
2 changed files with 6 additions and 1 deletions
|
@ -128,6 +128,11 @@ $big-number-card-padding: 2 * $segmented-control-item-border-radius;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
color: $light-grey;
|
color: $light-grey;
|
||||||
|
|
||||||
|
&.long-title {
|
||||||
|
margin-left: -30px;
|
||||||
|
margin-right: -30px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.big-number-card-number {
|
.big-number-card-number {
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
.stat-cards
|
.stat-cards
|
||||||
.stat-card.stat-card-half.big-number-card.pull-left
|
.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
|
%span.big-number-card-number
|
||||||
= number_with_delimiter(@procedures_numbers[:total])
|
= number_with_delimiter(@procedures_numbers[:total])
|
||||||
%span.big-number-card-detail
|
%span.big-number-card-detail
|
||||||
|
|
Loading…
Reference in a new issue