Skip to content

Commit

Permalink
Set max-height for onboarding slides (#5)
Browse files Browse the repository at this point in the history
To prevent covering of search bar on iPhone 5-size screens
  • Loading branch information
jackkoppa committed Mar 19, 2018
1 parent 15c046a commit f9d923c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/sass/modules/home/_home.component.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
// styles for home > home.component
$header-height: 90px;

.settings-wrapper {
position: fixed;
bottom: 0;
position: fixed;
width: 100%;
z-index: map-get($z-index-levels, 'foreground-2');
}

.onboarding-wrapper {
position: fixed;
bottom: 0;
max-height: calc(100vh - #{$header-height});
position: fixed;
width: 100%;
z-index: map-get($z-index-levels, 'foreground-1');
}

0 comments on commit f9d923c

Please sign in to comment.