diff --git a/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 b/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 index aa223617bea..1c0e9bf2c90 100644 --- a/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 +++ b/app/assets/javascripts/discourse/lib/safari-hacks.js.es6 @@ -28,12 +28,12 @@ function calcHeight() { } // iPad landscape, so we have a bigger keyboard - if (window.innerWidth > window.innerHeight && window.innerHeight > 690) { + if (window.innerWidth > window.innerHeight && window.innerHeight > 665) { withoutKeyboard -= 128; } // iPad portrait also has a bigger keyboard - if (window.innerWidth < window.innerHeight && window.innerHeight > 950) { + if (window.innerWidth < window.innerHeight && window.innerHeight > 920) { withoutKeyboard -= 45; }