Prevent overlay from extending beyond the viewport

Factored in the heights of all the neighboring elements
pull/10616/head
Alex P 2017-07-27 16:57:09 -07:00
parent 13801f58cb
commit 06de962b66
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
$write-data--max-width: 960px;
$write-data--gutter: 30px;
$write-data--margin: 18px;
$write-data--input-height: 80vh;
$write-data--input-height: calc(90vh - 48px - 60px - 36px); // Heights of everything but input height
$write-data--transition: opacity 0.4s ease;
.write-data-form {