Skip to content

Commit

Permalink
More UX
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaiyoKung committed May 28, 2024
1 parent c697fb0 commit b3952b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/components/list-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ export default function ListItem<V>({ id, value, onClickRemove: onClickDelete, a
onKeyDown={handlePressEnter}
/>
</div>
<p className="text-2xl text-blue-300">{formattedTime}</p>
<p className={clsx("text-2xl", isTracking || time > 0 ? "text-blue-300" : "text-gray-400")}>
{formattedTime}
</p>
</div>
<button
className={clsx(
Expand Down

0 comments on commit b3952b3

Please sign in to comment.