Skip to content

Commit 986ae79

Browse files
committed
fixup!
1 parent 02238bd commit 986ae79

2 files changed

Lines changed: 14 additions & 9 deletions

File tree

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,20 @@
1-
@import "@shikijs/twoslash/style-rich.css";
1+
@import '@shikijs/twoslash/style-rich.css';
22

33
.twoslash-popup-container {
44
> :not(.twoslash-popup-code) {
55
display: none !important;
66
}
77

88
.twoslash-popup-code {
9-
z-index: 9999;
9+
> span {
10+
display: inline-block !important;
11+
}
12+
13+
display: flex !important;
14+
flex-wrap: wrap !important;
15+
16+
font-size: small;
1017
}
1118

1219
position: fixed !important;
13-
}
20+
}

packages/ui-components/src/Common/BaseCodeBox/index.module.css

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,16 @@
22

33
.root {
44
@apply w-full
5+
translate-x-0
6+
translate-y-0
7+
transform
58
rounded-sm
69
border
710
border-neutral-900
811
bg-neutral-950;
912

1013
.content {
11-
@apply /*
12-
To allow tooltips to escape the overflow */ /*
13-
https://stackoverflow.com/questions/8837050/allow-specific-tag-to-override-overflowhidden */ m-0
14-
translate-x-0
15-
translate-y-0
16-
transform
14+
@apply m-0
1715
p-4;
1816

1917
& > code {

0 commit comments

Comments
 (0)