actually make the open in new tab button in the skin part dialog open in a new tab
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m2s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m2s
This commit is contained in:
parent
4739297ba5
commit
54911efd0d
@ -69,7 +69,7 @@ export function SkinPartImage({ playerName, part, url, size = 64 }: SkinPartImag
|
||||
<DialogTrigger asChild>
|
||||
<img
|
||||
src={url}
|
||||
alt={`The player's ${part}`}
|
||||
alt={`The ${playerName}'s ${partName}`}
|
||||
loading="lazy"
|
||||
style={{
|
||||
height: `${size}px`,
|
||||
@ -91,7 +91,7 @@ export function SkinPartImage({ playerName, part, url, size = 64 }: SkinPartImag
|
||||
<img
|
||||
className="h-[200px] md:h-[256px]"
|
||||
src={url + (overlay.overlays ? "?overlays=true" : "")}
|
||||
alt={`The player's ${partName}`}
|
||||
alt={`The ${playerName}'s ${partName}`}
|
||||
loading="lazy"
|
||||
/>
|
||||
</div>
|
||||
@ -99,7 +99,7 @@ export function SkinPartImage({ playerName, part, url, size = 64 }: SkinPartImag
|
||||
})}
|
||||
</div>
|
||||
<DialogFooter>
|
||||
<Link href={url}>
|
||||
<Link href={url} target="_blank">
|
||||
<Button>Open in new tab</Button>
|
||||
</Link>
|
||||
</DialogFooter>
|
||||
|
Loading…
x
Reference in New Issue
Block a user