fix(web): selected text stays visible on a revealed file line (#13548)
Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
fc46b8c3dd
commit
ebdcda135e
1 file changed
+4
-1
@@ -29,8 +29,11 @@ export const FILE_LINK_REVEAL_UNSAFE_CSS = `
|
||||
color: var(--code-foreground, var(--foreground)) !important;
|
||||
}
|
||||
|
||||
/* Tint through --diffs-line-bg, not background-color. The editor paints row
|
||||
tints on a layer below its text selection; a background on the row itself
|
||||
covers the selection and makes selected text on this line invisible. */
|
||||
[${FILE_LINK_REVEAL_ATTRIBUTE}][data-line] {
|
||||
background-color: light-dark(
|
||||
--diffs-line-bg: light-dark(
|
||||
color-mix(
|
||||
in lab,
|
||||
var(--diffs-computed-diff-line-bg) 82%,
|
||||
|
||||
Reference in new issue
Block a user