fix guesseslist styling

This commit is contained in:
leander committed 2025-06-20 01:21:01 +02:00
1 parent e416e25b73
commit 749f3a7003
1 file changed
+3 -3
+3 -3
View File
@@ -6,7 +6,7 @@ interface GuessesListProps {
}
const GuessesList: React.FC<GuessesListProps> = ({ matches }) => (
<ul className="flex max-w-md flex-col gap-4">
<ul className="flex w-full max-w-md flex-col gap-4">
{[...matches].reverse().map((match, idx) => (
<li
key={idx}
@@ -16,8 +16,8 @@ const GuessesList: React.FC<GuessesListProps> = ({ matches }) => (
: "border-1 border-red-600 bg-red-100 text-red-600"
} rounded-xl p-4 text-center`}
>
<p className="font-bold">{match.name}</p>
<p>{match.description}</p>
<p className="text-lg font-bold">{match.name}</p>
<p className="text-sm font-extralight">{match.description}</p>
</li>
))}
</ul>