fix hero height
This commit is contained in:
parent
95e6b6fb10
commit
9ef3be8e4c
1 changed files with 3 additions and 2 deletions
|
|
@ -1,10 +1,11 @@
|
|||
.hero {
|
||||
--empty-space: 11.9rem;
|
||||
background-color: var(--color-beige-light);
|
||||
--padding-vertical: calc(var(--space-m) / 1.5);
|
||||
display: grid;
|
||||
grid-template-columns: 1.6fr 3fr;
|
||||
column-gap: calc(var(--space-m) / 1.5);
|
||||
height: calc(100vh - 12rem);
|
||||
height: calc(100vh - var(--empty-space));
|
||||
}
|
||||
|
||||
.hero__text {
|
||||
|
|
@ -48,7 +49,7 @@
|
|||
}
|
||||
|
||||
.hero__image {
|
||||
height: calc(100vh - 12rem - 2 * var(--padding-vertical));
|
||||
height: calc(100vh - var(--empty-space) - 2 * var(--padding-vertical));
|
||||
}
|
||||
|
||||
.hero__image picture {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue