Skip to content

Commit

Permalink
use grid
Browse files Browse the repository at this point in the history
  • Loading branch information
Xillians committed Jun 18, 2024
1 parent 939951f commit f45e567
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/project-list-card.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ const { data } = Astro.props;
.card {
width: 100%;
background-color: hsl(var(--blue-base) 95%);
display: flex;
display: grid;
grid-template-columns: 1fr 1fr;
justify-content: space-between;
padding: 1.5rem;
border-radius: var(--border-radius);
Expand Down Expand Up @@ -67,7 +68,7 @@ const { data } = Astro.props;
}
@media (max-width: 640px) {
.card {
flex-direction: column;
grid-template-columns: auto;
}
dl {
text-align: start;
Expand Down

0 comments on commit f45e567

Please sign in to comment.