🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix(editor): stop the focused code line turning into a white band (#19407)
Arvin Xu135aad26c8d2
diff --git a/src/components/CodeEditorPane/style.ts b/src/components/CodeEditorPane/style.tsindex cd4119df309..f02af674f3d 100644--- a/src/components/CodeEditorPane/style.ts+++ b/src/components/CodeEditorPane/style.ts@@ -79,18 +79,22 @@ export const styles = createStaticStyles(({ css }) => ({color: ${cssVar.colorTextQuaternary};}- .cm-activeLineGutter {+ /* The bundle carries a base style that paints the caret's line and gutter a+ hard-coded near-white, in dark mode too, and qualifies both of them with+ the editor class. Naming that class twice is what outranks it: otherwise+ the focused line reads as a white band with its punctuation washed out. */+ .cm-editor.cm-editor .cm-activeLineGutter {color: ${cssVar.colorText} !important;background: transparent;}- .cm-activeLine {+ .cm-editor.cm-editor .cm-activeLine {background: ${cssVar.colorFillQuaternary};}/* A focused editor gets the stronger cue; an unfocused one keeps a faintmarker so the caret position is still findable after a click elsewhere. */- .cm-editor:not(.cm-focused) .cm-activeLine {+ .cm-editor.cm-editor:not(.cm-focused) .cm-activeLine {background: transparent;}