Commit d0ffbd18 authored by Jacob Schatz's avatar Jacob Schatz

Revert "fixed monaco height"

This reverts commit ba8bcdab.
parent 92e1707c
...@@ -24,7 +24,6 @@ const RepoEditor = { ...@@ -24,7 +24,6 @@ const RepoEditor = {
const newModel = this.monaco.editor.createModel(this.blobRaw, languageID); const newModel = this.monaco.editor.createModel(this.blobRaw, languageID);
this.monacoInstance.setModel(newModel); this.monacoInstance.setModel(newModel);
this.monacoInstance.layout();
}).catch(Helper.loadingError); }).catch(Helper.loadingError);
}, },
...@@ -33,7 +32,7 @@ const RepoEditor = { ...@@ -33,7 +32,7 @@ const RepoEditor = {
if (!this.openedFiles.length || (this.binary && !this.activeFile.raw)) { if (!this.openedFiles.length || (this.binary && !this.activeFile.raw)) {
this.$el.style.display = 'none'; this.$el.style.display = 'none';
} else { } else {
this.$el.style.display = ''; this.$el.style.display = 'inline-block';
} }
}, },
......
...@@ -152,6 +152,7 @@ ...@@ -152,6 +152,7 @@
padding: 10px 5px; padding: 10px 5px;
position: relative; position: relative;
border-top: 1px solid $white-normal; border-top: 1px solid $white-normal;
margin-top: -5px;
} }
#binary-viewer { #binary-viewer {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment