fix elapsed game activity time resizing the status card
All checks were successful
Deploy Site / docker (ubuntu-latest, 2.44.0) (push) Successful in 1m3s
All checks were successful
Deploy Site / docker (ubuntu-latest, 2.44.0) (push) Successful in 1m3s
This commit is contained in:
parent
58e46b797b
commit
8f1805d547
@ -265,8 +265,9 @@ const GameActivity = ({ activity }: { activity: Activity }): ReactElement => {
|
|||||||
}, 1000);
|
}, 1000);
|
||||||
return () => clearInterval(interval);
|
return () => clearInterval(interval);
|
||||||
}, [startTimestamp]);
|
}, [startTimestamp]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex items-start">
|
<div className="relative flex items-start">
|
||||||
<div className="flex gap-2 items-center">
|
<div className="flex gap-2 items-center">
|
||||||
{/* Artwork */}
|
{/* Artwork */}
|
||||||
<Image
|
<Image
|
||||||
@ -290,7 +291,7 @@ const GameActivity = ({ activity }: { activity: Activity }): ReactElement => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* Activity Progress & Logo */}
|
{/* Activity Progress & Logo */}
|
||||||
<div className="ml-auto flex gap-1 text-green-500/80">
|
<div className="absolute top-0 right-0 flex gap-1 text-green-500/80">
|
||||||
<p className="text-xs font-light">{activityProgress}</p>
|
<p className="text-xs font-light">{activityProgress}</p>
|
||||||
<PuzzlePieceIcon width={18} height={18} />
|
<PuzzlePieceIcon width={18} height={18} />
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user