Skip to content

Commit

Permalink
Merge pull request #33 from carbonplan/center-table-items
Browse files Browse the repository at this point in the history
Table row alignment improvements
  • Loading branch information
Shane98c authored Jan 4, 2024
2 parents f38d7c6 + d2ffd90 commit b2a87f8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions components/project-row.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,11 @@ const ProjectRow = ({ project }) => {
key: 'project_id',
width: [2, 1, 1, 1],
},
{ key: 'name', label: name ?? '?', width: [4, 3, 3, 3] },
{
key: 'name',
label: <Box sx={{ mt: 1 }}>{name ?? '?'}</Box>,
width: [4, 3, 3, 3],
},
{
key: 'issued',
label: (
Expand Down Expand Up @@ -123,7 +127,8 @@ const ProjectRow = ({ project }) => {
>
<RotatingArrow
sx={{
mt: '4px',
mt: [1, 1, 1, 0],
mb: [0, 0, 0, '1px'],
width: 14,
height: 14,
color: expanded ? color : null,
Expand Down

1 comment on commit b2a87f8

@vercel
Copy link

@vercel vercel bot commented on b2a87f8 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

offsets-db-web – ./

offsets-db-web.vercel.app
offsets-db-web-git-main-carbonplan.vercel.app
offsets-db-web-carbonplan.vercel.app

Please sign in to comment.