File tree Expand file tree Collapse file tree
rehype-shiki/src/transformers/twoslash
ui-components/src/Common/BaseCodeBox Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66}
77
88.twoslash-popup-code {
9- max-width : 600px ;
9+ max-width : min ( 600px , 90 vw ) ;
1010 display : block;
1111 width : fit-content;
1212 user-select : none;
13+ overflow-wrap : break-word;
1314}
1415
1516.twoslash-popup-code : not (: has (div )) {
Original file line number Diff line number Diff line change 33.root {
44 @apply w-full
55 max-w-full
6- overflow-x-clip
6+ overflow-x-hidden
77 rounded-sm
88 border
99 border-neutral-900
2020 scrollbar-thin
2121 grid
2222 max-w-full
23+ [grid-template-columns:minmax(0, 1fr )]
2324 overflow-x-auto
2425 bg-transparent
2526 p-0
3132 & > [class = 'line' ] {
3233 @apply relative
3334 min-w-0
34- pl-8;
35+ pl-8
36+ [overflow-wrap:anywhere];
3537
3638 & : not (: empty : last-child )::before {
3739 @apply inline-block
You can’t perform that action at this time.
0 commit comments