fix header overflow
This commit is contained in:
parent
7051f94360
commit
c9d4f62ba9
2 changed files with 18 additions and 8 deletions
|
|
@ -11,10 +11,14 @@
|
|||
|
||||
.hero__text {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.hero__text h2 {
|
||||
font-size: var(--font-size-xl);
|
||||
font-size: max(4.167vw, 3rem);
|
||||
width: 100%;
|
||||
margin-bottom: var(--padding-vertical);
|
||||
}
|
||||
|
|
@ -40,9 +44,8 @@
|
|||
}
|
||||
|
||||
.hero__link {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
font-weight: bold;
|
||||
margin-top: var(--space-m);
|
||||
}
|
||||
.hero__link::before {
|
||||
display: inline-block;
|
||||
|
|
@ -80,6 +83,9 @@
|
|||
.hero__text h3 {
|
||||
text-align: left !important;
|
||||
}
|
||||
.hero__text h2 {
|
||||
font-size: var(--font-size-xl);
|
||||
}
|
||||
.hero__text h2.big {
|
||||
font-size: calc(var(--font-size-xxl) / 1.2);
|
||||
text-align: left;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue