Skip to content

Commit eb82eed

Browse files
committed
style: add styling for read-only editor zones
Dimmed appearance with subtle background for codePrefix/codeSuffix regions.
1 parent 82f6e46 commit eb82eed

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,12 @@ kbd {
593593
height: 100%;
594594
}
595595

596+
/* Read-only zones (codePrefix/codeSuffix) */
597+
.cm-readonly-zone {
598+
opacity: 0.5;
599+
background: rgba(100, 100, 120, 0.1);
600+
}
601+
596602
.editor-content .cm-scroller {
597603
overflow: auto;
598604
}

0 commit comments

Comments
 (0)