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 { .mobileSearchButton {
border-radius: 4px; border-radius: 4px;
flex-shrink: 0;
@media (--desktopViewport) { @media (--desktopViewport) {
display: none; display: none;

View file

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