fix header height

This commit is contained in:
isUnknown 2024-09-19 11:31:47 +02:00
parent 77ed2d2ece
commit 95e6b6fb10

View file

@ -4,6 +4,7 @@
display: grid;
grid-template-columns: 1.6fr 3fr;
column-gap: calc(var(--space-m) / 1.5);
height: calc(100vh - 12rem);
}
.hero__text {
@ -46,6 +47,17 @@
margin-right: 1rem;
}
.hero__image {
height: calc(100vh - 12rem - 2 * var(--padding-vertical));
}
.hero__image picture {
height: 100%;
}
.hero__image img {
object-fit: cover;
}
@media screen and (max-width: 800px) {
.hero__text h2 {
text-align: center;