Skip to content

Commit

Permalink
fix: fix issue with viewport height exceeding the space available
Browse files Browse the repository at this point in the history
  • Loading branch information
bolt-bot committed Nov 24, 2018
1 parent 54c6b0c commit 95cd1cf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pl-iframe {
width: 100%; // bug fix for Safari and Firefox getting stuck calculating a width of 0px when the JS first kicks in
position: relative;
margin: 0 auto;
flex: 1;
flex-grow: 1;
-webkit-overflow-scrolling: touch;

&.hay-mode {
Expand All @@ -88,7 +88,6 @@ pl-iframe {
* 1) this is the actual <iframe>
*/
.pl-c-viewport__iframe {
min-height: calc(100vh - 35.5px);
flex-grow: 1;
width: 100%;
border: 0;
Expand Down

0 comments on commit 95cd1cf

Please sign in to comment.