From 868506327130a54d2da0a933427a2c502329a8fb Mon Sep 17 00:00:00 2001 From: BeniBenj Date: Fri, 21 Feb 2025 15:58:25 +0100 Subject: [PATCH] fix ghost text cursor is pointer --- .../browser/view/ghostText/ghostTextView.css | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css b/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css index 2839f49bb12a8..3bcb8b5f61abd 100644 --- a/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css +++ b/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.css @@ -24,15 +24,16 @@ font-size: 0; } -.monaco-editor .ghost-text-decoration, .monaco-editor .suggest-preview-text.clickable .view-line { - z-index: 1; +.monaco-editor .ghost-text-decoration, +.monaco-editor .suggest-preview-text .ghost-text { + font-style: italic; } -.monaco-editor .ghost-text-decoration, .monaco-editor .suggest-preview-text .ghost-text { - font-style: italic; +.monaco-editor .suggest-preview-text.clickable .view-line { + z-index: 1; } -.monaco-editor .ghost-text-decoration, .monaco-editor .suggest-preview-text.clickable .ghost-text { +.monaco-editor .suggest-preview-text.clickable .ghost-text { cursor: pointer; }