Skip to content

Commit 5728b06

Browse files
authored
gah why would you put the active line above the selection (#744)
1 parent 06be747 commit 5728b06

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/editor/src/lib/codemirror.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,12 @@
3636
}
3737

3838
.cm-activeLine {
39-
background: var(--sk-bg-3);
39+
/* this must be translucent, or it will obscure the selection */
40+
background: hsl(0, 0%, 0%, 0.04);
41+
42+
:root.dark & {
43+
background: hsl(0, 0%, 100%, 0.04);
44+
}
4045
}
4146

4247
.cm-activeLineGutter {

0 commit comments

Comments
 (0)