fix card
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m2s

This commit is contained in:
Lee 2024-04-19 16:55:00 +01:00
parent 78709ed060
commit 2eedafb72d
2 changed files with 2 additions and 2 deletions

@ -69,7 +69,7 @@ export default async function Page(): Promise<ReactElement> {
<h1 className="text-xl">Mojang Status</h1> <h1 className="text-xl">Mojang Status</h1>
<p>The current status of Mojang Services</p> <p>The current status of Mojang Services</p>
</div> </div>
<Card className="w-full xs:w-fit text-left"> <Card classNameContent="w-full xs:w-fit text-left">
<div> <div>
{endpointsSize === 0 && <p>Unable to fetch endpoint statuses</p>} {endpointsSize === 0 && <p>Unable to fetch endpoint statuses</p>}
{endpointsSize > 0 && ( {endpointsSize > 0 && (

@ -17,7 +17,7 @@ type PlayerViewProps = {
export function PlayerView({ player }: PlayerViewProps): ReactElement { export function PlayerView({ player }: PlayerViewProps): ReactElement {
return ( return (
<div className="flex flex-col gap-2 items-center"> <div className="flex flex-col gap-2 items-center">
<Card className="w-max xs:w-fit"> <Card classNameContent="w-max xs:w-fit">
<div className="flex gap-4 flex-col xs:flex-row relative"> <div className="flex gap-4 flex-col xs:flex-row relative">
<div className="flex items-center flex-col"> <div className="flex items-center flex-col">
<SkinPartImage playerName={player.username} part={SkinPart.HEAD} url={player.skin.parts.head} size={96} /> <SkinPartImage playerName={player.username} part={SkinPart.HEAD} url={player.skin.parts.head} size={96} />