Improved scrolling

This commit is contained in:
2026-05-12 04:04:17 +02:00
parent 620ccd5b3f
commit 0e7ed4b4cc
+1 -1
View File
@@ -39,7 +39,7 @@ export default function MorphCode({ code, lang = "rust" }: Props) {
}, [code, lang]);
return (
<pre className="text-sm">
<pre className="text-sm overflow-x-scroll overflow-y-hidden">
<code>
<AnimatePresence mode="popLayout">
{lines.map((line, lineIndex) => (