Skip to content
Snippets Groups Projects
Commit b28b04e3 authored by shamalainen's avatar shamalainen
Browse files

Update hero min-height to get as close as possible to 16:10 image aspect ratio

parent e5d82b07
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
} }
.hy-hero__content-container { .hy-hero__content-container {
@include breakpoint(max-width $wide) { @include breakpoint(max-width 959px) {
padding-bottom: 0; padding-bottom: 0;
} }
...@@ -259,19 +259,30 @@ ...@@ -259,19 +259,30 @@
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
margin: 0 auto; margin: 0 auto;
min-height: 360px;
padding: 52px 2rem; padding: 52px 2rem;
position: relative; position: relative;
width: 100%; width: 100%;
} }
@include breakpoint($extrawide) { @include breakpoint($extrawide) {
min-height: 400px;
padding: 80px 24px; padding: 80px 24px;
} }
@include breakpoint($overwide) {
min-height: 450px;
}
@include breakpoint($xlarge) { @include breakpoint($xlarge) {
max-width: 1216px; max-width: 1216px;
min-height: 500px;
padding: 80px 0; padding: 80px 0;
} }
@include breakpoint($fullhd) {
min-height: 600px;
}
} }
.hy-hero__spacer-box { .hy-hero__spacer-box {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment