Skip to content

Commit e98ec10

Browse files
authored
fixes #190 (#199)
Signed-off-by: Cristian Postescu <postescu@gmail.com>
1 parent cec0ec6 commit e98ec10

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/mdxComponents/codeRenderer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const LineNumber = withStyles((theme) => ({
3333
paddingRight: '20px',
3434
color: theme.palette.type === 'light' ? '#ccc' : '#e0ebf7',
3535
fontFamily: '"Roboto Mono", Monospace',
36+
userSelect: 'none',
3637
},
3738
}
3839
))(({ lineNumber, classes }: any) => (<span className={classes.lineBlock}>{lineNumber}</span>));

0 commit comments

Comments
 (0)