diff --git a/apps/remix-ide/src/app/tabs/styles/test-tab-styles.js b/apps/remix-ide/src/app/tabs/styles/test-tab-styles.js index ce267b02bf..b6cce75aeb 100644 --- a/apps/remix-ide/src/app/tabs/styles/test-tab-styles.js +++ b/apps/remix-ide/src/app/tabs/styles/test-tab-styles.js @@ -48,5 +48,8 @@ var css = csjs` .labelOnBtn { border: hidden; } + .inputFolder { + width: 80%; + } ` module.exports = css diff --git a/apps/remix-ide/src/app/tabs/test-tab.js b/apps/remix-ide/src/app/tabs/test-tab.js index 2154232d23..36dcbed3a6 100644 --- a/apps/remix-ide/src/app/tabs/test-tab.js +++ b/apps/remix-ide/src/app/tabs/test-tab.js @@ -573,18 +573,28 @@ module.exports = class TestTab extends ViewPlugin { this.inputPath = yo` { if (e.keyCode === 191) this.updateDirList() }} - onchange=${(e) => this.updateCurrentPath(e)}/>` + onkeydown=${(e) => { if (e.keyCode === 191) this.updateDirList() }}/>` + + const createTestFolder = yo`` const availablePaths = yo`