From a4c28cd9786cd8e54f8e23d10dfbbce7c502930e Mon Sep 17 00:00:00 2001 From: Dennis Huebner Date: Wed, 18 Sep 2024 16:24:08 +0200 Subject: [PATCH] Makes the cell editor border grey when not focused --- packages/notebook/src/browser/style/index.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/notebook/src/browser/style/index.css b/packages/notebook/src/browser/style/index.css index 7a8a4c741c5b6..f16a935aa5f7f 100644 --- a/packages/notebook/src/browser/style/index.css +++ b/packages/notebook/src/browser/style/index.css @@ -114,7 +114,8 @@ margin: 0px 16px 0px 10px; } -.theia-notebook-cell.focused .theia-notebook-cell-editor-container { +/* Only mark an editor cell focused if the editor has focus */ +.theia-notebook-cell-editor-container:has(.monaco-editor.focused) { outline-color: var(--theia-notebook-focusedEditorBorder); }