The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 23, 21:45 UTC
fix(web): selected text stays visible on a revealed file line (#13548)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Theo Browne committed
Sep 24, 2026 at 20:38 UTC
ebdcda135e31693c5283f8ac409019bd69e07f8e
1 file changed
+4
-1
apps/web/src/components/files/fileSurfaceChrome.tsx
+4
-1
@@ -29,8 +29,11 @@ export const FILE_LINK_REVEAL_UNSAFE_CSS = `
29
color: var(--code-foreground, var(--foreground)) !important;
30
}
31
32
+ /* Tint through --diffs-line-bg, not background-color. The editor paints row
33
+ tints on a layer below its text selection; a background on the row itself
34
+ covers the selection and makes selected text on this line invisible. */
35
[${FILE_LINK_REVEAL_ATTRIBUTE}][data-line] {
33
- background-color: light-dark(
36
+ --diffs-line-bg: light-dark(
37
color-mix(
38
in lab,
39
var(--diffs-computed-diff-line-bg) 82%,