From bd34d8e3a4eb4f1a4fe0b05fc665e64e4b19bf03 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Fri, 12 Jul 2019 22:10:32 +0000 Subject: [PATCH] Add link to tutorial Fixes #17 --- EditorHelp.js | 4 ++++ architype.css | 1 + 2 files changed, 5 insertions(+) diff --git a/EditorHelp.js b/EditorHelp.js index e5d2772..4044b67 100644 --- a/EditorHelp.js +++ b/EditorHelp.js @@ -75,6 +75,9 @@ class EditorHelp extends EditorEntryBase { this.addLine(); this.addLine(); + this.addLink( + 'Tutorial', + 'https://github.com/firestuff/architype/blob/master/TUTORIAL.md'); this.addLink( 'GitHub', 'https://github.com/firestuff/architype/blob/master/README.md'); @@ -105,6 +108,7 @@ class EditorHelp extends EditorEntryBase { let a = document.createElement('a'); a.href = href; a.innerText = text; + a.target = '_blank'; this.line_.appendChild(a); } diff --git a/architype.css b/architype.css index c9a95d4..4044915 100644 --- a/architype.css +++ b/architype.css @@ -178,6 +178,7 @@ body { .editor li.help a { color: var(--text); + margin: 8px; } .editor li:focus {