docs: fix error related to Key type (#5178)

* docs: fix error related to Key type

* fix styling issue
This commit is contained in:
Shahed Nasser
2023-09-21 21:41:18 +03:00
committed by GitHub
parent 25dad081b7
commit 27d74cb399
4 changed files with 17 additions and 6 deletions

View File

@@ -64,7 +64,7 @@ export const CodeBlock = ({
className={clsx(
"text-code-body font-monospace table min-w-full pb-docs_1.5 print:whitespace-pre-wrap",
tokens.length > 1 && "pt-docs_1 pr-docs_1",
tokens.length <= 1 && "py-docs_0.5 px-docs_1"
tokens.length <= 1 && "!py-docs_0.5 px-docs_1"
)}
>
{tokens.map((line, i) => {