diff --git a/application/frontend/src/components/DocumentNode/documentNode.scss b/application/frontend/src/components/DocumentNode/documentNode.scss
index 55cab702b..2fc8efe07 100644
--- a/application/frontend/src/components/DocumentNode/documentNode.scss
+++ b/application/frontend/src/components/DocumentNode/documentNode.scss
@@ -8,15 +8,19 @@
}
.icon.external {
- display: none;
+ color: #4183c4;
font-size: 0.9em;
padding-left: 0.5em;
}
+.external:hover::before {
+ color: #115c96;
+ padding: 1px;
+ }
+
.external-link,
&.external-link {
a {
- display: flex;
color: rgba(0, 0, 0, 0.4);
}
}
@@ -26,9 +30,6 @@
a {
color: rgba(0, 0, 0, 0.87);
}
- .icon.external {
- display: inline-block;
- }
}
&__link-type-container hr {
From c81c0aaf7208a2d71d65e26615676eb984cea3a6 Mon Sep 17 00:00:00 2001
From: John Harvey <10814889+john681611@users.noreply.github.com>
Date: Tue, 4 Jul 2023 15:05:33 +0100
Subject: [PATCH 3/3] Replaced: duplicate display name with "Which" (#313)
---
.../CommonRequirementEnumeration.tsx | 3 +--
application/frontend/src/pages/Standard/StandardSection.tsx | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/application/frontend/src/pages/CommonRequirementEnumeration/CommonRequirementEnumeration.tsx b/application/frontend/src/pages/CommonRequirementEnumeration/CommonRequirementEnumeration.tsx
index 17715d108..5f9a6b893 100644
--- a/application/frontend/src/pages/CommonRequirementEnumeration/CommonRequirementEnumeration.tsx
+++ b/application/frontend/src/pages/CommonRequirementEnumeration/CommonRequirementEnumeration.tsx
@@ -82,8 +82,7 @@ export const CommonRequirementEnumeration = () => {
Object.entries(linksByType).map(([type, links]) => (
- {getDocumentDisplayName(display)}
- {DOCUMENT_TYPE_NAMES[type]}:
+ Which {DOCUMENT_TYPE_NAMES[type]}:
{links.sort((a, b) => getDocumentDisplayName(a.document).localeCompare(getDocumentDisplayName(b.document))).map((link, i) => (
diff --git a/application/frontend/src/pages/Standard/StandardSection.tsx b/application/frontend/src/pages/Standard/StandardSection.tsx
index 819e1f6c0..d27b46261 100644
--- a/application/frontend/src/pages/Standard/StandardSection.tsx
+++ b/application/frontend/src/pages/Standard/StandardSection.tsx
@@ -75,8 +75,7 @@ export const StandardSection = () => {
Object.entries(linksByType).map(([type, links]) => (
- {getDocumentDisplayName(document)}
- {DOCUMENT_TYPE_NAMES[type]}:
+ Which {DOCUMENT_TYPE_NAMES[type]}:
{links.sort((a, b) => getDocumentDisplayName(a.document).localeCompare(getDocumentDisplayName(b.document))).map((link, i) => (