UX: add minimum height for zoomed composer on mobile

This commit is contained in:
Sam 2016-06-27 17:22:24 +10:00
parent 994063ac72
commit ea46e5dd57
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ function positioningWorkaround($fixedElement) {
fixedElement.style.top = '0px';
fixedElement.style.height = parseInt(window.innerHeight*0.6) + "px";
const height = Math.max(parseInt(window.innerHeight*0.6), 350);
fixedElement.style.height = height + "px";
// I used to do this, but it seems like we don't need to with position
// fixed