fix header height
This commit is contained in:
parent
77ed2d2ece
commit
95e6b6fb10
1 changed files with 12 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1.6fr 3fr;
|
grid-template-columns: 1.6fr 3fr;
|
||||||
column-gap: calc(var(--space-m) / 1.5);
|
column-gap: calc(var(--space-m) / 1.5);
|
||||||
|
height: calc(100vh - 12rem);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero__text {
|
.hero__text {
|
||||||
|
|
@ -46,6 +47,17 @@
|
||||||
margin-right: 1rem;
|
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) {
|
@media screen and (max-width: 800px) {
|
||||||
.hero__text h2 {
|
.hero__text h2 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue