Skip to content

Commit

Permalink
Add a medium size hero image height
Browse files Browse the repository at this point in the history
  • Loading branch information
bosschaert committed Apr 12, 2023
1 parent b4a90cf commit fc865aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions blocks/hero-home/hero-home.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ main .hero-home > div > div > h1 {
padding: 64px 0 0 22px;
}
main .hero-home img {
width: 100vw;
height: 500px;
object-fit: cover;
height: 346px;
}
}
@media (min-width: 1025px) {
Expand All @@ -51,4 +49,7 @@ main .hero-home > div > div > h1 {
font-size: 64px;
line-height: 72px;
}
main .hero-home img {
height: 500px;
}
}
7 changes: 4 additions & 3 deletions blocks/hero-home/hero-home.less
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ main {
}
}
img {
width: 100vw;
height: 500px;
object-fit: cover;
height: 346px;
}
}
}
Expand All @@ -78,6 +76,9 @@ main {
}
}
}
img {
height: 500px;
}
}
}
}

0 comments on commit fc865aa

Please sign in to comment.