-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy patheditor-styles.css
More file actions
39 lines (33 loc) · 771 Bytes
/
editor-styles.css
File metadata and controls
39 lines (33 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
.shcb-textedit.shcb-textedit-wrap-lines {
overflow: auto !important;
}
.shcb-textedit.rich-text {
white-space: pre !important;
overflow-x: auto !important;
}
.shcb-textedit.rich-text.shcb-textedit-wrap-lines {
white-space: pre-wrap !important;
}
.code-block-overlay {
box-sizing: border-box;
height: 100%;
left: 0;
padding: inherit; /* To match the padding in the parent since this is positioned absolutely */
pointer-events: none;
position: absolute;
top: 0;
white-space: pre;
width: 100%;
z-index: 10;
}
.shcb-textedit-wrap-lines + .code-block-overlay {
white-space: pre-wrap;
}
.code-block-overlay .loc {
color: transparent;
display: block;
line-height: inherit;
}
.code-block-overlay .loc.highlighted {
background: rgba(86, 213, 255, 0.2);
}