Skip to content

Commit d7f4d57

Browse files
committed
fixup! styling
1 parent 9711c95 commit d7f4d57

File tree

1 file changed

+5
-1
lines changed
  • packages/rehype-shiki/src/transformers/twoslash

1 file changed

+5
-1
lines changed

packages/rehype-shiki/src/transformers/twoslash/index.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@
44
cursor: text;
55
}
66

7-
.twoslash-popup-code:not(:has(div)) {
7+
.twoslash-popup-code {
88
max-width: 600px;
99
display: block;
1010
width: fit-content;
11+
}
12+
13+
.twoslash-popup-code:not(:has(div)) {
1114
min-width: 100%;
1215
padding: 6px 12px;
1316
white-space: pre-wrap;
17+
background-color: var(--color-neutral-950);
1418

1519
span {
1620
display: inline-block;

0 commit comments

Comments
 (0)