From 20a4b9fb5a6621d61fb9b4bd399e315b92754838 Mon Sep 17 00:00:00 2001 From: nymkappa Date: Tue, 14 Jun 2022 10:35:29 +0200 Subject: [PATCH] Make Latest blocks and Adjustments widget title clickable --- .../mining-dashboard.component.html | 14 ++++++++++---- .../mining-dashboard.component.scss | 7 +++++++ .../src/app/dashboard/dashboard.component.html | 12 +++++++----- .../src/app/dashboard/dashboard.component.scss | 7 +++++++ 4 files changed, 31 insertions(+), 9 deletions(-) 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 fe7c08ba2..b0ec46ac5 100644 --- a/frontend/src/app/components/mining-dashboard/mining-dashboard.component.html +++ b/frontend/src/app/components/mining-dashboard/mining-dashboard.component.html @@ -49,9 +49,12 @@
@@ -60,9 +63,12 @@
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 3ee108d9d..303591974 100644 --- a/frontend/src/app/components/mining-dashboard/mining-dashboard.component.scss +++ b/frontend/src/app/components/mining-dashboard/mining-dashboard.component.scss @@ -97,3 +97,10 @@ .card-text { font-size: 22px; } + +.title-link, .title-link:hover, .title-link:focus, .title-link:active { + display: block; + margin-bottom: 10px; + text-decoration: none; + color: inherit; +} \ No newline at end of file diff --git a/frontend/src/app/dashboard/dashboard.component.html b/frontend/src/app/dashboard/dashboard.component.html index 99ae4a301..4eb95c1ca 100644 --- a/frontend/src/app/dashboard/dashboard.component.html +++ b/frontend/src/app/dashboard/dashboard.component.html @@ -103,10 +103,14 @@ -
+
-
Latest blocks
+ +
Latest blocks
+   + +
@@ -136,11 +140,10 @@
Height
-
-
+
Latest transactions
@@ -160,7 +163,6 @@ -
 
diff --git a/frontend/src/app/dashboard/dashboard.component.scss b/frontend/src/app/dashboard/dashboard.component.scss index 81e7a671d..a7e21ba94 100644 --- a/frontend/src/app/dashboard/dashboard.component.scss +++ b/frontend/src/app/dashboard/dashboard.component.scss @@ -317,3 +317,10 @@ vertical-align: text-top; padding-left: 10px; } + +.title-link, .title-link:hover, .title-link:focus, .title-link:active { + display: block; + margin-bottom: 10px; + text-decoration: none; + color: inherit; +} \ No newline at end of file