From de580c45940cf400a6373f2cfd6b018a7805167c Mon Sep 17 00:00:00 2001 From: yoution Date: Wed, 10 Mar 2021 00:20:29 +0800 Subject: [PATCH] fix: issue #1062 --- .../ChallengeEditor/ChallengeEditor.module.scss | 12 ++++++++++++ .../ChallengeEditor/TextEditor-Field/index.js | 3 +++ src/components/ChallengeEditor/index.js | 3 +++ 3 files changed, 18 insertions(+) diff --git a/src/components/ChallengeEditor/ChallengeEditor.module.scss b/src/components/ChallengeEditor/ChallengeEditor.module.scss index cac38dd5..8f058ccb 100644 --- a/src/components/ChallengeEditor/ChallengeEditor.module.scss +++ b/src/components/ChallengeEditor/ChallengeEditor.module.scss @@ -211,6 +211,18 @@ } } } + + .templateLink { + text-align: center; + font-size: 14px; + line-height: 29px; + font-weight: 400; + + a { + font-weight: 400; + font-size: 12px; + } + } } .group:last-of-type { margin-bottom: 0; diff --git a/src/components/ChallengeEditor/TextEditor-Field/index.js b/src/components/ChallengeEditor/TextEditor-Field/index.js index d5c53628..b67050f2 100644 --- a/src/components/ChallengeEditor/TextEditor-Field/index.js +++ b/src/components/ChallengeEditor/TextEditor-Field/index.js @@ -60,6 +60,9 @@ class TextEditorField extends Component { )} {shouldShowPrivateDescription && showShowPrivateDescriptionField && (
Private specification + {!readOnly && (
+ Access specification templates here +
)} This text will only be visible to Topcoder members that have registered for this challenge diff --git a/src/components/ChallengeEditor/index.js b/src/components/ChallengeEditor/index.js index d4a20a31..967389b2 100644 --- a/src/components/ChallengeEditor/index.js +++ b/src/components/ChallengeEditor/index.js @@ -1481,6 +1481,9 @@ class ChallengeEditor extends Component {
Public specification *
+
+ Access specification templates here +