fix image size for server logo and player head
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 53s

This commit is contained in:
Lee 2024-04-16 18:51:46 +01:00
parent 3c7cbfd95a
commit d9b104067e
2 changed files with 2 additions and 2 deletions

@ -57,7 +57,7 @@ export default async function Page({ params }: Params) {
<div className="flex gap-2 flex-col md:flex-row">
<div className="flex justify-center md:justify-start">
<Image
className="w-fit h-fit"
className="w-[96px] h-[96px]"
src={player.skin.parts.head}
width={96}
height={96}

@ -81,7 +81,7 @@ export default async function Page({ params: { platform, hostname } }: Params) {
<div className="flex gap-2 flex-col md:flex-row">
{favicon && (
<div className="flex justify-center md:justify-start">
<Image className="w-fit h-fit" src={favicon} width={96} height={96} alt="The server's favicon" />
<Image className="w-[96px] h-[96px]" src={favicon} width={96} height={96} alt="The server's favicon" />
</div>
)}