From 1a6048f0ab43b13a90ff13f97982cef5885742b6 Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 21 Mar 2023 21:25:37 +0900 Subject: [PATCH 1/3] Difficulty mining css updates --- .../difficulty-mining/difficulty-mining.component.scss | 1 + .../src/app/components/difficulty/difficulty.component.scss | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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 cf031bebc..69e2892ee 100644 --- a/frontend/src/app/components/difficulty-mining/difficulty-mining.component.scss +++ b/frontend/src/app/components/difficulty-mining/difficulty-mining.component.scss @@ -156,4 +156,5 @@ .symbol { font-size: 13px; + white-space: nowrap; } \ No newline at end of file diff --git a/frontend/src/app/components/difficulty/difficulty.component.scss b/frontend/src/app/components/difficulty/difficulty.component.scss index 00085a49c..7b585580c 100644 --- a/frontend/src/app/components/difficulty/difficulty.component.scss +++ b/frontend/src/app/components/difficulty/difficulty.component.scss @@ -30,7 +30,7 @@ } } .card-text { - font-size: 20px; + font-size: 18px; margin: auto; position: relative; } @@ -160,6 +160,7 @@ .symbol { font-size: 13px; + white-space: nowrap; } .epoch-progress { From 63f7709e82b867bca888fbd1fd6a5cc799175662 Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 21 Mar 2023 22:20:14 +0900 Subject: [PATCH 2/3] Restoring size of current change --- .../src/app/components/difficulty/difficulty.component.html | 2 +- .../src/app/components/difficulty/difficulty.component.scss | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/components/difficulty/difficulty.component.html b/frontend/src/app/components/difficulty/difficulty.component.html index b65092331..674367c7a 100644 --- a/frontend/src/app/components/difficulty/difficulty.component.html +++ b/frontend/src/app/components/difficulty/difficulty.component.html @@ -42,7 +42,7 @@
Average block time
-
+
diff --git a/frontend/src/app/components/difficulty/difficulty.component.scss b/frontend/src/app/components/difficulty/difficulty.component.scss index 7b585580c..3c41855bb 100644 --- a/frontend/src/app/components/difficulty/difficulty.component.scss +++ b/frontend/src/app/components/difficulty/difficulty.component.scss @@ -33,6 +33,9 @@ font-size: 18px; margin: auto; position: relative; + &.bigger { + font-size: 20px; + } } } From 2c16bbb0e90cba788bd0dabc8c980d12dc5133d1 Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 21 Mar 2023 22:26:18 +0900 Subject: [PATCH 3/3] Fixing sub text height --- .../src/app/components/difficulty/difficulty.component.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/app/components/difficulty/difficulty.component.scss b/frontend/src/app/components/difficulty/difficulty.component.scss index 3c41855bb..1da1591d0 100644 --- a/frontend/src/app/components/difficulty/difficulty.component.scss +++ b/frontend/src/app/components/difficulty/difficulty.component.scss @@ -33,8 +33,10 @@ font-size: 18px; margin: auto; position: relative; + margin-bottom: 0.2rem; &.bigger { font-size: 20px; + margin-bottom: 0; } } }