File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff 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
2628export 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
You can’t perform that action at this time.
0 commit comments