hero section min-height

This commit is contained in:
Vesa Luusua 2017-06-19 13:42:29 +03:00
parent 92472129fd
commit 014334ada1
2 changed files with 3 additions and 2 deletions

View file

@ -47,6 +47,7 @@
.mobileSearchButton {
border-radius: 4px;
flex-shrink: 0;
@media (--desktopViewport) {
display: none;

View file

@ -5,11 +5,11 @@
}
.hero {
height: calc(100vh - var(--topbarHeight));
min-height: calc(100vh - var(--topbarHeight));
padding: 0 24px 98px 24px;
@media (--desktopViewport) {
height: calc(100vh - var(--topbarHeightDesktop));
min-height: calc(100vh - var(--topbarHeightDesktop));
}
@media (min-width: 768px) {