fix player head size
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m4s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m4s
This commit is contained in:
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>
|
||||||
|
Loading…
Reference in New Issue
Block a user