From 2e2c144cc93c4c8bd707430ab4aa7e4b9d32c5fd Mon Sep 17 00:00:00 2001 From: nymkappa Date: Thu, 17 Feb 2022 18:51:16 +0900 Subject: [PATCH] Fix widgets title in mining dashboard --- .../difficulty-chart/difficulty-chart.component.html | 1 - .../mining-dashboard/mining-dashboard.component.html | 6 ++++-- .../mining-dashboard/mining-dashboard.component.scss | 10 ++++++++++ .../pool-ranking/pool-ranking.component.html | 1 - .../pool-ranking/pool-ranking.component.scss | 11 ----------- 5 files changed, 14 insertions(+), 15 deletions(-) diff --git a/frontend/src/app/components/difficulty-chart/difficulty-chart.component.html b/frontend/src/app/components/difficulty-chart/difficulty-chart.component.html index 31a79e739..ca005f2d4 100644 --- a/frontend/src/app/components/difficulty-chart/difficulty-chart.component.html +++ b/frontend/src/app/components/difficulty-chart/difficulty-chart.component.html @@ -1,4 +1,3 @@ -
Difficulty (1y)
diff --git a/frontend/src/app/components/mining-dashboard/mining-dashboard.component.html b/frontend/src/app/components/mining-dashboard/mining-dashboard.component.html index 12bd06303..f8f52fc9a 100644 --- a/frontend/src/app/components/mining-dashboard/mining-dashboard.component.html +++ b/frontend/src/app/components/mining-dashboard/mining-dashboard.component.html @@ -1,9 +1,10 @@ -
+
-
+
+
Mining Pools Share (1w)
@@ -15,6 +16,7 @@
+
Difficulty (1y)
diff --git a/frontend/src/app/components/mining-dashboard/mining-dashboard.component.scss b/frontend/src/app/components/mining-dashboard/mining-dashboard.component.scss index 2e5ad3824..98e4e7d4d 100644 --- a/frontend/src/app/components/mining-dashboard/mining-dashboard.component.scss +++ b/frontend/src/app/components/mining-dashboard/mining-dashboard.component.scss @@ -45,3 +45,13 @@ -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 80%, transparent 100%) } +.main-title { + position: relative; + color: #ffffff91; + margin-top: -13px; + font-size: 10px; + text-transform: uppercase; + font-weight: 500; + text-align: center; + padding-bottom: 3px; +} diff --git a/frontend/src/app/components/pool-ranking/pool-ranking.component.html b/frontend/src/app/components/pool-ranking/pool-ranking.component.html index 65c9a9dc1..a687e41c7 100644 --- a/frontend/src/app/components/pool-ranking/pool-ranking.component.html +++ b/frontend/src/app/components/pool-ranking/pool-ranking.component.html @@ -1,4 +1,3 @@ -
Mining Pools Share ({{ poolsWindowPreference }})
diff --git a/frontend/src/app/components/pool-ranking/pool-ranking.component.scss b/frontend/src/app/components/pool-ranking/pool-ranking.component.scss index 0e8dcfd6b..3cf52b6ce 100644 --- a/frontend/src/app/components/pool-ranking/pool-ranking.component.scss +++ b/frontend/src/app/components/pool-ranking/pool-ranking.component.scss @@ -30,14 +30,3 @@ padding: .3em !important; } } - -.main-title { - position: relative; - color: #ffffff91; - margin-top: -13px; - font-size: 10px; - text-transform: uppercase; - font-weight: 500; - text-align: center; - padding-bottom: 3px; -}