Skip to content

Commit

Permalink
fix(layout): Switch from flex to grid, add noMargin prop to Card an…
Browse files Browse the repository at this point in the history
…d set `gap-4`
  • Loading branch information
AVGVSTVS96 committed Feb 2, 2024
1 parent 3fe3c0d commit 8cca63c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Projects.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import { Icon } from 'astro-icon/components';
<div class="h1 mb-4">
<h1>Projects</h1>
</div>
<ul class="list-none pl-0 sm:flex">
<ul class="list-none pl-0 grid sm:grid-cols-2 gap-4">
{
projects.map((project) => (
<Card variant="bordered" padding="p-3.5" class="my-4 sm:my-0 sm:w-1/2">
<Card variant="bordered" padding="p-3.5" noMargin={true}>
<div slot="content">
<a
class="flex items-center justify-between text-[1.2rem] font-semibold no-underline"
Expand Down

0 comments on commit 8cca63c

Please sign in to comment.