From 14af6342efb9c288a551f58a727fce9e64a4a9dd Mon Sep 17 00:00:00 2001 From: Joshua Krautwurst Date: Mon, 28 Oct 2019 09:31:14 -0700 Subject: [PATCH] clickable 'link out' icon --- src/SchemaFields/index.js | 6 +++++- src/SchemaFields/styles.module.scss | 9 +++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/SchemaFields/index.js b/src/SchemaFields/index.js index 8ec4ea741..2b362b614 100644 --- a/src/SchemaFields/index.js +++ b/src/SchemaFields/index.js @@ -100,7 +100,11 @@ const ExternalLink = (props) => { const { idSchema: { id }, schema: { title: label }, formData:value } = props; return
- + {value}
; }; diff --git a/src/SchemaFields/styles.module.scss b/src/SchemaFields/styles.module.scss index a7fd07f6f..f91cb95e2 100644 --- a/src/SchemaFields/styles.module.scss +++ b/src/SchemaFields/styles.module.scss @@ -9,4 +9,13 @@ [class*=react-datetime-picker__wrapper] { width: 100%; } +} + +.linkLabel { + align-items: flex-end; + display: flex; + margin-bottom: 0.25rem; + a { + margin-left: 0.25rem; + } } \ No newline at end of file