Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
style(components:data-table): add padding to links in live-submission…
Browse files Browse the repository at this point in the history
… DataTable

  ## what
  - add padding to links in live-submission DataTable

  ## how

  ## why

  ## where
  - ./src/app/components/data-table/columns.tsx

  ## usage
  • Loading branch information
Clumsy-Coder committed Jan 3, 2024
1 parent f6fdd33 commit 0aa3bb2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/components/data-table/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const columns: ColumnDef<Submission>[] = [
return (
<Link
href={`/submissions/${row.getValue("submissionId")}`}
className="text-primary underline-offset-4 hover:underline"
className="text-primary underline-offset-4 hover:underline py-4 px-1"
>
{row.getValue("submissionId")}
</Link>
Expand All @@ -51,7 +51,7 @@ export const columns: ColumnDef<Submission>[] = [
return (
<Link
href={`/problems/${row.getValue("problemNum")}`}
className="text-primary underline-offset-4 hover:underline"
className="text-primary underline-offset-4 hover:underline py-4 px-1"
>
{row.getValue("problemNum")}
</Link>
Expand All @@ -72,7 +72,7 @@ export const columns: ColumnDef<Submission>[] = [
return (
<Link
href={`/problems/${row.original.msg.pnum}`}
className="text-primary underline-offset-4 hover:underline"
className="text-primary underline-offset-4 hover:underline py-4 px-1"
>
{row.getValue("problemTitle")}
</Link>
Expand All @@ -93,7 +93,7 @@ export const columns: ColumnDef<Submission>[] = [
return (
<Link
href={`/users/${row.original.msg.uname}`}
className="text-primary underline-offset-4 hover:underline"
className="text-primary underline-offset-4 hover:underline py-4 px-1"
>
{row.getValue("username")}
</Link>
Expand Down

0 comments on commit 0aa3bb2

Please sign in to comment.