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>
|
<DialogTrigger asChild>
|
||||||
<img
|
<img
|
||||||
src={url}
|
src={url}
|
||||||
alt={`The player's ${part}`}
|
alt={`The ${playerName}'s ${partName}`}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
style={{
|
style={{
|
||||||
height: `${size}px`,
|
height: `${size}px`,
|
||||||
@ -91,7 +91,7 @@ export function SkinPartImage({ playerName, part, url, size = 64 }: SkinPartImag
|
|||||||
<img
|
<img
|
||||||
className="h-[200px] md:h-[256px]"
|
className="h-[200px] md:h-[256px]"
|
||||||
src={url + (overlay.overlays ? "?overlays=true" : "")}
|
src={url + (overlay.overlays ? "?overlays=true" : "")}
|
||||||
alt={`The player's ${partName}`}
|
alt={`The ${playerName}'s ${partName}`}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -99,7 +99,7 @@ export function SkinPartImage({ playerName, part, url, size = 64 }: SkinPartImag
|
|||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
<DialogFooter>
|
<DialogFooter>
|
||||||
<Link href={url}>
|
<Link href={url} target="_blank">
|
||||||
<Button>Open in new tab</Button>
|
<Button>Open in new tab</Button>
|
||||||
</Link>
|
</Link>
|
||||||
</DialogFooter>
|
</DialogFooter>
|
||||||
|
Loading…
Reference in New Issue
Block a user