style: align model stats helper
This commit is contained in:
@@ -60,7 +60,7 @@ export default function ModelViewer({ url, assetUrls, filename, size }: ModelVie
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{stats && (
|
{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="flex justify-between gap-3">
|
||||||
<span className="text-gray-500">Draw calls</span>
|
<span className="text-gray-500">Draw calls</span>
|
||||||
<span className="font-mono text-gray-200">{stats.drawCalls}</span>
|
<span className="font-mono text-gray-200">{stats.drawCalls}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user