Align status to the right

Right-align the status element in the Knights Puzzle.
This commit is contained in:
gpt-engineer-app[bot] 2025-07-21 09:17:22 +00:00
parent c1c5e5ca60
commit 6f6d52880f

View file

@ -183,17 +183,15 @@ const KnightsPuzzle = ({ showSocialShare = false }: KnightsPuzzleProps) => {
</p>
</div>
{/* Blue: Number of moves */}
<div className="text-lg">
{/* Blue and Orange: Moves (left) and Status (right) on same line */}
<div className="flex justify-between items-center text-lg">
<div>
<span className="font-semibold">Moves: </span>
<span className="font-mono text-primary">{moveCount}</span>
</div>
{/* Orange: Status (without heading) */}
<div className="text-lg">
<span className="font-semibold">
<div className="font-semibold">
{isComplete ? "🎉 Puzzle Solved!" : "🎯 In Progress"}
</span>
</div>
</div>
{/* Yellow: Main interactive with controls */}