From 999f28e49fee2e38050fd1a9c6ab37aa76841d6a Mon Sep 17 00:00:00 2001 From: Michael Lively Date: Tue, 17 Dec 2024 12:39:39 -0800 Subject: [PATCH] Extend hover styling for entire sticky line (#236410) extend hover styling for entire sticky line --- .../browser/media/notebookEditorStickyScroll.css | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css b/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css index 25fa90546d6..a723d49cfe0 100644 --- a/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css +++ b/src/vs/workbench/contrib/notebook/browser/media/notebookEditorStickyScroll.css @@ -38,10 +38,8 @@ .monaco-workbench .notebookOverlay .notebook-sticky-scroll-container - .notebook-sticky-scroll-element - .notebook-sticky-scroll-header:hover { + .notebook-sticky-scroll-element:hover { background-color: var(--vscode-editorStickyScrollHover-background); - width: 100%; cursor: pointer; } @@ -55,13 +53,11 @@ .monaco-workbench.hc-light .notebookOverlay .notebook-sticky-scroll-container - .notebook-sticky-scroll-element - .notebook-sticky-scroll-header:hover, + .notebook-sticky-scroll-element:hover, .monaco-workbench.hc-black .notebookOverlay .notebook-sticky-scroll-container - .notebook-sticky-scroll-element - .notebook-sticky-scroll-header:hover { + .notebook-sticky-scroll-element:hover { outline: 1px dashed var(--vscode-contrastActiveBorder); outline-offset: -2px; }