Skip to content

Commit d4f29ca

Browse files
authored
Fix microsoft#184434. Remove bg gap between selected cells (microsoft#184436)
1 parent d1dc4d9 commit d4f29ca

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,13 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
802802
styleSheets.push(`.notebookOverlay .monaco-list .monaco-list-row .cell-focus-indicator-bottom { height: ${cellBottomMargin}px; }`);
803803
styleSheets.push(`.notebookOverlay .monaco-list .monaco-list-row .cell-shadow-container-bottom { top: ${cellBottomMargin}px; }`);
804804

805+
styleSheets.push(`
806+
.notebookOverlay .monaco-list .monaco-list-row:has(+ .monaco-list-row.selected) .cell-focus-indicator-bottom {
807+
height: ${bottomToolbarGap + cellBottomMargin}px;
808+
}
809+
`);
810+
811+
805812
styleSheets.push(`
806813
.monaco-workbench .notebookOverlay > .cell-list-container > .monaco-list > .monaco-scrollable-element > .monaco-list-rows > .monaco-list-row .input-collapse-container .cell-collapse-preview {
807814
line-height: ${collapsedIndicatorHeight}px;

0 commit comments

Comments
 (0)