提交 d0ffbd18 编写于 作者: J Jacob Schatz

Revert "fixed monaco height"

This reverts commit ba8bcdab.
上级 92e1707c
......@@ -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';
}
},
......
......@@ -152,6 +152,7 @@
padding: 10px 5px;
position: relative;
border-top: 1px solid $white-normal;
margin-top: -5px;
}
#binary-viewer {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册