style: align model stats helper

This commit is contained in:
Tom Boullay
2026-04-27 17:12:11 +02:00
parent 77bdb7748b
commit 2a7be1dd52
+1 -1
View File
@@ -60,7 +60,7 @@ export default function ModelViewer({ url, assetUrls, filename, size }: ModelVie
</span>
</div>
{stats && (
<div className="absolute top-12 right-3 z-10 flex w-44 flex-col gap-1.5 rounded-lg border border-white/10 bg-black-900/75 p-2 text-xs text-gray-300 backdrop-blur">
<div className="absolute top-3 right-3 z-10 flex w-44 flex-col gap-1.5 rounded-lg border border-white/10 bg-black-900/75 p-2 text-xs text-gray-300 backdrop-blur">
<span className="flex justify-between gap-3">
<span className="text-gray-500">Draw calls</span>
<span className="font-mono text-gray-200">{stats.drawCalls}</span>