Skip to content

Commit

Permalink
fix editor background regression when all editors are closed
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Apr 7, 2016
1 parent ef3ba97 commit 678629d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/vs/workbench/browser/parts/editor/media/sidebyside.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

/* Editor Container Styles */

.vs .monaco-workbench .editor > .content {
.vs .monaco-workbench .editor:not(.empty) > .content {
background-color: #F3F3F3;
}

.vs-dark .monaco-workbench .editor > .content {
.vs-dark .monaco-workbench .editor:not(.empty) > .content {
background-color: #252526;
}

Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/workbench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ export class Workbench implements IPartService {
private createEditorPart(): void {
let editorContainer = $(this.workbench)
.div({
'class': ['part', 'editor'],
'class': ['part', 'editor', 'monaco-editor-background'],
id: Identifiers.EDITOR_PART,
role: 'main'
});
Expand Down

0 comments on commit 678629d

Please sign in to comment.