Revert "fixed monaco height"

This reverts commit ba8bcdabf0.
This commit is contained in:
Jacob Schatz 2017-08-02 15:46:51 -04:00
parent 92e1707c8f
commit d0ffbd18fa
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,6 @@ const RepoEditor = {
const newModel = this.monaco.editor.createModel(this.blobRaw, languageID);
this.monacoInstance.setModel(newModel);
this.monacoInstance.layout();
}).catch(Helper.loadingError);
},
@ -33,7 +32,7 @@ const RepoEditor = {
if (!this.openedFiles.length || (this.binary && !this.activeFile.raw)) {
this.$el.style.display = 'none';
} else {
this.$el.style.display = '';
this.$el.style.display = 'inline-block';
}
},

View File

@ -152,6 +152,7 @@
padding: 10px 5px;
position: relative;
border-top: 1px solid $white-normal;
margin-top: -5px;
}
#binary-viewer {