Skip to content

Commit b34ea77

Browse files
committed
1 parent 5ad2e51 commit b34ea77

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/vs/workbench/contrib/notebook/browser/media/notebook.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -882,19 +882,19 @@
882882
flex-direction: row-reverse;
883883
}
884884

885-
.monaco-workbench .notebookOverlay .output .error::-webkit-scrollbar,
885+
.monaco-workbench .notebookOverlay .output .error .traceback::-webkit-scrollbar,
886886
.monaco-workbench .notebookOverlay .output-plaintext::-webkit-scrollbar {
887887
width: 10px; /* width of the entire scrollbar */
888888
height: 10px;
889889
}
890890

891-
.monaco-workbench .notebookOverlay .output .error::-webkit-scrollbar-thumb,
891+
.monaco-workbench .notebookOverlay .output .error .traceback::-webkit-scrollbar-thumb,
892892
.monaco-workbench .notebookOverlay .output-plaintext::-webkit-scrollbar-thumb {
893893
height: 10px;
894894
width: 10px;
895895
}
896896

897-
.monaco-workbench .notebookOverlay .output .error,
897+
.monaco-workbench .notebookOverlay .output .error .traceback,
898898
.monaco-workbench .notebookOverlay .output .output-plaintext {
899899
overflow-x: auto;
900900
}

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2939,14 +2939,13 @@ registerThemingParticipant((theme, collector) => {
29392939
const scrollbarSliderBackgroundColor = theme.getColor(listScrollbarSliderBackground);
29402940
if (scrollbarSliderBackgroundColor) {
29412941
collector.addRule(` .notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .scrollbar > .slider { background: ${scrollbarSliderBackgroundColor}; } `);
2942-
// collector.addRule(` .monaco-workbench .notebookOverlay .output-plaintext::-webkit-scrollbar-track { background: ${scrollbarSliderBackgroundColor}; } `);
29432942
}
29442943

29452944
const scrollbarSliderHoverBackgroundColor = theme.getColor(listScrollbarSliderHoverBackground);
29462945
if (scrollbarSliderHoverBackgroundColor) {
29472946
collector.addRule(` .notebookOverlay .cell-list-container > .monaco-list > .monaco-scrollable-element > .scrollbar > .slider:hover { background: ${scrollbarSliderHoverBackgroundColor}; } `);
29482947
collector.addRule(` .monaco-workbench .notebookOverlay .output-plaintext::-webkit-scrollbar-thumb { background: ${scrollbarSliderHoverBackgroundColor}; } `);
2949-
collector.addRule(` .monaco-workbench .notebookOverlay .output .error::-webkit-scrollbar-thumb { background: ${scrollbarSliderHoverBackgroundColor}; } `);
2948+
collector.addRule(` .monaco-workbench .notebookOverlay .output .error .traceback::-webkit-scrollbar-thumb { background: ${scrollbarSliderHoverBackgroundColor}; } `);
29502949
}
29512950

29522951
const scrollbarSliderActiveBackgroundColor = theme.getColor(listScrollbarSliderActiveBackground);

0 commit comments

Comments
 (0)