Skip to content

Commit

Permalink
feat: Submissionsのレイアウトを調整
Browse files Browse the repository at this point in the history
  • Loading branch information
r4ai committed Nov 3, 2024
1 parent e04119d commit 5140ab5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const Submissions: FC<SubmissionsProps> = ({ className, ...props }) => {
<div className={cn("grid grid-cols-[auto_1fr_auto]", className)} {...props}>
{submissions.data?.map((submission) => (
<Button
className="col-span-3 grid grid-cols-subgrid"
className="col-span-3 grid grid-cols-subgrid gap-4"
key={submission.id}
onClick={() => {
// todo: Display submission details
Expand All @@ -32,7 +32,7 @@ export const Submissions: FC<SubmissionsProps> = ({ className, ...props }) => {
<StatusIcon status={submission.result.status} />
<span className="font-semibold">{submission.result.status}</span>
</div>
<div>{submission.result.message}</div>
<div className="text-left">{submission.result.message}</div>
<div className="text-right text-muted-foreground">
{intlFormatDistance(new Date(submission.submitted_at), new Date())}
</div>
Expand Down

0 comments on commit 5140ab5

Please sign in to comment.