Skip to content

Commit

Permalink
refactor(statistic): add max width to label so it wraps the text
Browse files Browse the repository at this point in the history
  • Loading branch information
tarantilis committed Aug 2, 2022
1 parent 444adec commit 824a127
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions theme/themes/eea/views/statistic.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/* Full width statistics for mobile */
.ui.statistic {
width: @mobileStatisticWidth;
align-items: center;
}

/* Custom statistic variations */
Expand All @@ -23,6 +24,11 @@
}
}

/* Wrap label text */
.ui.statistic .label {
max-width: fit-content;
}

.ui.statistics.inverted > a {
color: @white;
}
Expand Down

0 comments on commit 824a127

Please sign in to comment.