Skip to content

Commit

Permalink
feat: add fixed height to portfolio image
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Heilemann committed Mar 3, 2020
1 parent 0e72761 commit ea81072
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/styles/components/_portfolio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,21 +43,22 @@
grid-area: image;
}

.placeholder,
.gatsby-image-wrapper {
width: 100%;
max-height: 200px;
height: 200px;
border: 1px solid var(--border-color-light);

@include breakpoint-up(xs) {
max-height: 250px;
height: 250px;
}

@include breakpoint-up(md) {
max-height: 350px;
height: 300px;
}

@include breakpoint-up(xl) {
max-height: 500px;
height: 500px;
}
}
}

0 comments on commit ea81072

Please sign in to comment.