From 832fdb2dbd8ab12fdb98cf0def267b6609243944 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 24 Oct 2018 12:02:13 +0200 Subject: [PATCH 1/2] don't highlight when content changed --- src/app/tabs/compile-tab.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index 17dd086717..e53ffed38b 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -84,8 +84,6 @@ module.exports = class CompileTab { }) self._deps.editor.event.register('contentChanged', function changedFile () { if (!self._view.compileIcon) return - const compileTab = document.querySelector('.compileView') // @TODO: compileView tab - compileTab.style.color = styles.colors.red // @TODO: compileView tab self._view.compileIcon.classList.add(`${css.bouncingIcon}`) // @TODO: compileView tab }) self._deps.compiler.event.register('loadingCompiler', function start () { @@ -258,6 +256,7 @@ module.exports = class CompileTab { ` self._view.el = yo`
+
Solidity compiler
${self._view.compileContainer} ${self._view.contractEl} ${self._view.errorContainerHead} @@ -454,6 +453,11 @@ module.exports = class CompileTab { } const css = csjs` + .title { + font-size: 1.1em; + font-weight: bold; + margin-bottom: 1em; + } .panicError { color: red; font-size: 20px; From 1732e55a65dca2bf75f2e535c82b3b7915573bb5 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 24 Oct 2018 12:08:41 +0200 Subject: [PATCH 2/2] Update compile-tab.js --- src/app/tabs/compile-tab.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/tabs/compile-tab.js b/src/app/tabs/compile-tab.js index e53ffed38b..8218c70c71 100644 --- a/src/app/tabs/compile-tab.js +++ b/src/app/tabs/compile-tab.js @@ -256,7 +256,6 @@ module.exports = class CompileTab {
` self._view.el = yo`
-
Solidity compiler
${self._view.compileContainer} ${self._view.contractEl} ${self._view.errorContainerHead}