We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9711c95 commit d7f4d57Copy full SHA for d7f4d57
1 file changed
packages/rehype-shiki/src/transformers/twoslash/index.css
@@ -4,13 +4,17 @@
4
cursor: text;
5
}
6
7
-.twoslash-popup-code:not(:has(div)) {
+.twoslash-popup-code {
8
max-width: 600px;
9
display: block;
10
width: fit-content;
11
+}
12
+
13
+.twoslash-popup-code:not(:has(div)) {
14
min-width: 100%;
15
padding: 6px 12px;
16
white-space: pre-wrap;
17
+ background-color: var(--color-neutral-950);
18
19
span {
20
display: inline-block;
0 commit comments