diff --git a/frontend/src/app/components/difficulty-mining/difficulty-mining.component.scss b/frontend/src/app/components/difficulty-mining/difficulty-mining.component.scss
index 0530bc0cf..cf031bebc 100644
--- a/frontend/src/app/components/difficulty-mining/difficulty-mining.component.scss
+++ b/frontend/src/app/components/difficulty-mining/difficulty-mining.component.scss
@@ -10,6 +10,7 @@
.item {
padding: 0 5px;
width: 100%;
+ max-width: 150px;
&:nth-child(1) {
display: none;
@media (min-width: 485px) {
@@ -85,6 +86,9 @@
.card-title {
color: #4a68b9;
font-size: 1rem;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
}
.progress {
diff --git a/frontend/src/app/components/difficulty-mining/difficulty-mining.component.ts b/frontend/src/app/components/difficulty-mining/difficulty-mining.component.ts
index 2abb02e22..fbf31f238 100644
--- a/frontend/src/app/components/difficulty-mining/difficulty-mining.component.ts
+++ b/frontend/src/app/components/difficulty-mining/difficulty-mining.component.ts
@@ -83,4 +83,8 @@ export class DifficultyMiningComponent implements OnInit {
})
);
}
+
+ isEllipsisActive(e): boolean {
+ return (e.offsetWidth < e.scrollWidth);
+ }
}
diff --git a/frontend/src/app/components/reward-stats/reward-stats.component.html b/frontend/src/app/components/reward-stats/reward-stats.component.html
index d59280fd1..5c1a8d7cd 100644
--- a/frontend/src/app/components/reward-stats/reward-stats.component.html
+++ b/frontend/src/app/components/reward-stats/reward-stats.component.html
@@ -50,14 +50,14 @@