diff --git a/packages/rehype-shiki/src/transformers/twoslash/index.css b/packages/rehype-shiki/src/transformers/twoslash/index.css index 92b9502372b46..111ced3696eee 100644 --- a/packages/rehype-shiki/src/transformers/twoslash/index.css +++ b/packages/rehype-shiki/src/transformers/twoslash/index.css @@ -2,12 +2,14 @@ .twoslash-hover { cursor: text; + user-select: text; } .twoslash-popup-code { max-width: 600px; display: block; width: fit-content; + user-select: none; } .twoslash-popup-code:not(:has(div)) {