Skip to content

Commit

Permalink
Design: size of .post-summary-item
Browse files Browse the repository at this point in the history
  • Loading branch information
gumgood committed Oct 25, 2024
1 parent 2f61a95 commit f6ddcd8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _sass/pages/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@
}

.post-summary-item-thumbnail {
flex: 1;
flex: 3;
overflow: hidden;

@media screen and (max-width: $break-small) {
flex: 0 0 12rem;
}

img {
margin-bottom: -6rem;
height: 100%;
width: 100%;
object-fit: cover;
Expand All @@ -47,12 +48,11 @@
.post-summaries-item-body {
display: flex;
flex-direction: column;
flex: 1;
min-width: 70%;
flex: 7;
padding: 1.25rem 1.75rem;

@media screen and (max-width: $break-small) {
padding: 1rem;
padding: 1.125rem 1.375rem;
}
}

Expand Down

0 comments on commit f6ddcd8

Please sign in to comment.