File tree Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Expand file tree Collapse file tree 3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -410,7 +410,9 @@ export function rendererRich(options: RendererRichOptions = {}): TwoslashRendere
410410 type : 'element' ,
411411 tagName : 'span' ,
412412 properties : {
413- class : 'twoslash-hover twoslash-query-presisted' ,
413+ // TODO: `twoslash-query-presisted` was a typo before v3.17. We keep it for backward compatibility.
414+ // We should remove it in the next major version.
415+ class : 'twoslash-hover twoslash-query-persisted twoslash-query-presisted' ,
414416 } ,
415417 children : hast ?. queryCompose
416418 ? hast ?. queryCompose ( { popup, token : node } )
Original file line number Diff line number Diff line change 6363 box-shadow : var (--twoslash-popup-shadow );
6464}
6565
66- .twoslash .twoslash-query-presisted .twoslash-popup-container {
66+ .twoslash .twoslash-query-persisted .twoslash-popup-container {
6767 z-index : 9 ;
6868 transform : translateY (1.5em );
6969}
7070
7171.twoslash .twoslash-hover : hover .twoslash-popup-container ,
7272.twoslash .twoslash-error-hover : hover .twoslash-popup-container ,
73- .twoslash .twoslash-query-presisted .twoslash-popup-container ,
73+ .twoslash .twoslash-query-persisted .twoslash-popup-container ,
7474.twoslash .twoslash-query-line .twoslash-popup-container {
7575 opacity : 1 ;
7676 pointer-events : auto;
Original file line number Diff line number Diff line change 3434 transform : translateY (1.5em );
3535}
3636
37- .twoslash-query-presisted .twoslash-popup-container {
37+ .twoslash-query-persisted .twoslash-popup-container {
3838 transform : translateY (1.8em );
3939}
4040
You can’t perform that action at this time.
0 commit comments