Update CopyableCode.tsx

This commit is contained in:
MacRimi 2025-02-18 00:24:25 +01:00 committed by GitHub
parent 6a7dc437ad
commit 3d73385d9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,7 +30,7 @@ const CopyableCode: React.FC<CopyableCodeProps> = ({ code, language, className }
className={cn(
"bg-gray-100 p-2 sm:p-3 md:p-4 rounded-md overflow-x-auto",
"text-xs sm:text-sm md:text-base",
"w-full min-w-[150px] max-w-full",
"max-w-full",
language ? `language-${language}` : "",
)}
>