chore: update packages

This commit is contained in:
trafficlunar 2026-04-11 18:38:31 +01:00
parent 30c9562ed8
commit 3a5243fa3e
4 changed files with 753 additions and 794 deletions

View file

@ -235,7 +235,7 @@ export default function Camera({ isOpen, setIsOpen, onCapture, setImage, setQrBy
<div className="rounded-2xl border-2 border-amber-500 max-h-96 flex justify-center items-center overflow-hidden">
<img src="/loading.svg" alt="loading indicator" width={256} height={256} className="absolute" />
<video ref={videoRef} className={`size-full z-10 ${setQrBytesRaw ? "object-cover" : ""}`} />
<video ref={videoRef} className={`size-full z-10 ${setQrBytesRaw ? "object-cover aspect-square" : ""}`} />
</div>
{setQrBytesRaw && <QrFinder />}
<canvas ref={canvasRef} className="hidden" />

View file

@ -101,7 +101,7 @@ export default function HairTab({ instructions }: Props) {
setStyle(i + 1);
instructions.current.hair.style = i + 1;
}}
className={`size-full aspect-square cursor-pointer hover:bg-orange-300 transition-colors duration-100 rounded-lg ${style === i ? "bg-orange-400!" : ""}`}
className={`size-full aspect-square cursor-pointer hover:bg-orange-300 transition-colors duration-100 rounded-lg ${style === i + 1 ? "bg-orange-400!" : ""}`}
>
{i + 1}
</button>