mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-10 14:52:29 +02:00
refactor: make code block shadows consistent with new admonitions (#5215)
This commit is contained in:
parent
083037d7a5
commit
a7a5ea3466
3 changed files with 10 additions and 18 deletions
|
@ -210,9 +210,7 @@ export default function CodeBlock({
|
|||
<pre
|
||||
/* eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex */
|
||||
tabIndex={0}
|
||||
className={clsx(className, styles.codeBlock, 'thin-scrollbar', {
|
||||
[styles.codeBlockWithTitle]: codeBlockTitle,
|
||||
})}
|
||||
className={clsx(className, styles.codeBlock, 'thin-scrollbar')}
|
||||
style={style}>
|
||||
<code className={styles.codeBlockLines}>
|
||||
{tokens.map((line, i) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue