fix(www): missing ']' in className (#358)

* fix(code-block-wrapper): missing ']' in className

* fix(code-block-wrapper): re-order tailwind className

---------

Co-authored-by: shadcn <m@shadcn.com>
This commit is contained in:
Quentin
2023-05-16 13:41:35 +02:00
committed by GitHub
parent b09cff40ae
commit dbbdbe618f

View File

@@ -31,7 +31,7 @@ export function CodeBlockWrapper({
>
<div
className={cn(
"[&_pre]:max-h-[650px [&_pre]:my-0 [&_pre]:pb-[100px]",
"[&_pre]:my-0 [&_pre]:max-h-[650px] [&_pre]:pb-[100px]",
!isOpened ? "[&_pre]:overflow-hidden" : "[&_pre]:overflow-auto]"
)}
>