fix(LoadedCode): make LoadedCode scrollable

This commit is contained in:
p-sw 2024-07-12 04:13:08 +09:00
parent 9070bc3424
commit f1b6e5336d

View File

@ -110,7 +110,7 @@ export const LoadedCode = forwardRef<
<SyntaxHighlighter
language="typescript"
style={gruvboxDark}
className={`w-full h-64 rounded-lg ${!state ? "animate-pulse" : ""} scrollbar-none`}
className={`w-full h-64 rounded-lg ${!state ? "animate-pulse" : ""} scrollbar-none resize-y`}
customStyle={{ padding: "1rem" }}
>
{postProcessedCode}