Skip to content

Commit bf058cd

Browse files
committed
Merge branch 'merge-' into develop
2 parents 44a7486 + ae23960 commit bf058cd

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

components/code-editor.tsx

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ interface CodeEditorProps {
2121
errorDecorations?: EditorErrorDecoration[] // Changed from errorLines: number[]
2222
highlightedLine?: number // New prop for line highlighting
2323
scrollToLine?: number // New prop for auto-scroll
24+
highlightedLine?: number // New prop for line highlighting
25+
scrollToLine?: number // New prop for auto-scroll
2426
}
2527

2628
export default function CodeEditor({
@@ -187,14 +189,8 @@ export default function CodeEditor({
187189
}
188190
/* Style for highlighted line */
189191
.editor-highlight-line {
190-
background-color: rgba(56, 189, 248, 0.15) !important; // much less opaque
191-
border-left: 2px solid #38bdf8 !important;
192-
z-index: 10;
193-
pointer-events: none; // allow editing even when highlighted
194-
}
195-
background-color: rgba(56, 189, 248, 0.5) !important;
196-
border-left: 4px solid #38bdf8 !important;
197-
z-index: 10;
192+
background-color: rgba(56, 189, 248, 0.25) !important;
193+
border-left: 3px solid #38bdf8 !important;
198194
}
199195
`}</style>
200196
<Editor

0 commit comments

Comments
 (0)