fixed monaco height
This commit is contained in:
parent
f64b0059d6
commit
ba8bcdabf0
2 changed files with 3 additions and 2 deletions
|
@ -24,6 +24,7 @@ const RepoEditor = {
|
|||
const newModel = this.monaco.editor.createModel(this.blobRaw, languageID);
|
||||
|
||||
this.monacoInstance.setModel(newModel);
|
||||
this.monacoInstance.layout();
|
||||
}).catch(Helper.loadingError);
|
||||
},
|
||||
|
||||
|
@ -32,7 +33,7 @@ const RepoEditor = {
|
|||
if (!this.openedFiles.length || (this.binary && !this.activeFile.raw)) {
|
||||
this.$el.style.display = 'none';
|
||||
} else {
|
||||
this.$el.style.display = 'inline-block';
|
||||
this.$el.style.display = '';
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -147,6 +147,7 @@
|
|||
|
||||
#ide {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
#repo-file-buttons {
|
||||
|
@ -155,7 +156,6 @@
|
|||
padding: 10px 5px;
|
||||
position: relative;
|
||||
border-top: 1px solid $white-normal;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
#binary-viewer {
|
||||
|
|
Loading…
Reference in a new issue