Skip to content

Commit

Permalink
Merge pull request #340 from significa/project-awards-grid
Browse files Browse the repository at this point in the history
feat: change project award list to a grid
  • Loading branch information
ruicsereno authored Feb 28, 2024
2 parents aa80a60 + 6f4fe19 commit 5abe143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/project-entry.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
{#if recognitions?.length}
<div
class={clsx(
'mt-6 flex gap-4',
variant === 'featured' ? 'flex-col @5xl:flex-row' : 'flex-col'
'mt-6 grid grid-cols-2 grid-rows-3 grid-flow-col gap-4',
variant === 'featured' && '@5xl:grid-rows-1'
)}
>
<Recognitions as={as === 'h2' ? 'h3' : 'h4'} {recognitions} />
Expand Down

0 comments on commit 5abe143

Please sign in to comment.