loleaflet/js/global.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 53dd77bfa137cf934dc6ad8f7386e81730fef5c2 Author: Jan Holesovsky <[email protected]> AuthorDate: Wed Apr 8 14:15:22 2020 +0200 Commit: Jan Holesovsky <[email protected]> CommitDate: Wed Apr 8 17:41:48 2020 +0200 mobile, tablet: Even the small tablets or large phones should get the phone UI. There is clearly not enough space for the normal sidebar when one of the dimensions is below 768. Change-Id: Iac27f12f837b9e6a64d1cce7b8376009bbe2c15f Reviewed-on: https://gerrit.libreoffice.org/c/online/+/91914 Tested-by: Jenkins CollaboraOffice <[email protected]> Reviewed-by: Jan Holesovsky <[email protected]> diff --git a/loleaflet/js/global.js b/loleaflet/js/global.js index a4fd77bab..3022d94a3 100644 --- a/loleaflet/js/global.js +++ b/loleaflet/js/global.js @@ -149,7 +149,7 @@ return true; } - return L.Browser.mobile && screen.width < 768; + return L.Browser.mobile && (screen.width < 768 || screen.height < 768); }, // Mobile device with big screen size. isTablet: function() { _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
