fix(v2): Code blocks should be LTR by default (#4277)

* use LTR code code blocks

* code blocks should be LTR
This commit is contained in:
Sébastien Lorber 2021-02-23 18:47:07 +01:00 committed by GitHub
parent 6ab5084c87
commit 3d00613e5d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -207,7 +207,7 @@ export default function CodeBlock({
{codeBlockTitle}
</div>
)}
<div className={styles.codeBlockContent}>
<div className={clsx(styles.codeBlockContent, language)}>
<div
/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */
tabIndex={0}