parent
92e1707c8f
commit
d0ffbd18fa
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue