Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ const StyledPre = styled.pre<{ theme: any }>`
max-height: 40vh;
overflow-y: scroll !important;

/* Keep code text selectable so a partial selection isn't lost when the
cursor leaves the code block while dragging (see issue #3850). */
user-select: text;
-webkit-user-select: text;

${(props) => generateThemeStyles(props.theme)}
`;

Expand Down
Loading