From 35accd210b0748bf487dfab3e94ea0c77a2b5241 Mon Sep 17 00:00:00 2001 From: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com> Date: Tue, 3 Nov 2026 02:44:12 +0000 Subject: [PATCH] fix(editor): highlight selected Markdown table cells (#37624) --- src/renderer/src/assets/rich-markdown-editor.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/renderer/src/assets/rich-markdown-editor.css b/src/renderer/src/assets/rich-markdown-editor.css index 89c2d23295d..dda532e0c8d 100644 --- a/src/renderer/src/assets/rich-markdown-editor.css +++ b/src/renderer/src/assets/rich-markdown-editor.css @@ -825,6 +825,18 @@ background: color-mix(in srgb, var(--foreground) 1.5%, transparent); } +.rich-markdown-editor .selectedCell { + position: relative; +} + +.rich-markdown-editor .selectedCell::after { + position: absolute; + inset: 0; + content: ''; + background: color-mix(in srgb, var(--foreground) 13%, transparent); + pointer-events: none; +} + .rich-markdown-table-controls { position: absolute; inset: 0;