Skip to content

Commit

Permalink
Fix multiple cell status item positioning on left side
Browse files Browse the repository at this point in the history
  • Loading branch information
roblourens committed Sep 2, 2020
1 parent 5c29b4a commit 7b55ec9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/vs/workbench/contrib/notebook/browser/media/notebook.css
Original file line number Diff line number Diff line change
Expand Up @@ -359,13 +359,14 @@
flex-grow: 1;
}

.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-status-left,
.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-status-right {
padding-right: 12px;
z-index: 26;
display: flex;
z-index: 26;
}

.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-status-right .cell-contributed-items-right {
.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-contributed-items {
display: flex;
flex-wrap: wrap;
overflow: hidden;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ export class CellEditorStatusBar extends Disposable {
this.cellRunStatusContainer = DOM.append(leftItemsContainer, $('.cell-run-status'));
this.durationContainer = DOM.append(leftItemsContainer, $('.cell-run-duration'));
this.cellStatusMessageContainer = DOM.append(leftItemsContainer, $('.cell-status-message'));
this.leftContributedItemsContainer = DOM.append(leftItemsContainer, $('.cell-contributed-items-left'));
this.rightContributedItemsContainer = DOM.append(rightItemsContainer, $('.cell-contributed-items-right'));
this.leftContributedItemsContainer = DOM.append(leftItemsContainer, $('.cell-contributed-items.cell-contributed-items-left'));
this.rightContributedItemsContainer = DOM.append(rightItemsContainer, $('.cell-contributed-items.cell-contributed-items-right'));
this.languageStatusBarItem = instantiationService.createInstance(CellLanguageStatusBarItem, rightItemsContainer);

this.itemsDisposable = this._register(new DisposableStore());
Expand Down

0 comments on commit 7b55ec9

Please sign in to comment.