fix player head size
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m4s

This commit is contained in:
Lee 2024-04-18 08:05:10 +01:00
parent 211807f494
commit f9257bb184

@ -45,7 +45,14 @@ export function SkinPartImage({ playerName, part, url, size = 64 }: SkinPartImag
<TooltipTrigger> <TooltipTrigger>
<Dialog> <Dialog>
<DialogTrigger asChild> <DialogTrigger asChild>
<img className={`h-[${size}px]`} src={url} alt={`The player's ${part}`} loading="lazy" /> <img
src={url}
alt={`The player's ${part}`}
loading="lazy"
style={{
height: `${size}px`,
}}
/>
</DialogTrigger> </DialogTrigger>
<DialogContent className="w-fit min-w-72 h-fit"> <DialogContent className="w-fit min-w-72 h-fit">
<DialogHeader> <DialogHeader>