From df9529e9ea491a1700c9ebc58825f03737f618a2 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt <hey@jancborchardt.net> Date: Tue, 7 Jul 2020 13:25:11 +0200 Subject: [PATCH] Up the limit for the header app menu, fix #21635 Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> --- core/js/dist/main.js | Bin 1374425 -> 1374429 bytes core/src/init.js | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/js/dist/main.js b/core/js/dist/main.js index e62e0ef6ed1aee2b09199a066ea8cb2c9ae0d851..ecbbd09b39a3a28f266231d0f7bb389b295ac0fa 100644 GIT binary patch delta 112 zcmcclG5GGs;D#2)7N!>F7M2#)7Pc1l7LF~P+z*+|%%}4{<kXQeG*VO3D7G~;($rDR uR8uRqfeW<zKjZ{rE+FOxVjdvo1!6uR<_BT{AQl8-As`ms?*CAvOB?`@Q7Etg delta 108 zcmccnG5F@k;D#2)7N!>F7M2#)7Pc1l7LF~P+z*+Iji>WI<kS(fP*c+=wzbgIQOs0R sE4G1h+k+o+0x=g5a|1CC5c2{t9}x2cu>cSY0<jPf3vUm8DAFYk04cR7DF6Tf diff --git a/core/src/init.js b/core/src/init.js index 7fd04a65ac6..d2282beb023 100644 --- a/core/src/init.js +++ b/core/src/init.js @@ -39,8 +39,8 @@ const resizeMenu = () => { const appList = $('#appmenu li') const rightHeaderWidth = $('.header-right').outerWidth() const headerWidth = $('header').outerWidth() - const usePercentualAppMenuLimit = 0.33 - const minAppsDesktop = 8 + const usePercentualAppMenuLimit = 0.67 + const minAppsDesktop = 12 let availableWidth = headerWidth - $('#nextcloud').outerWidth() - (rightHeaderWidth > 210 ? rightHeaderWidth : 210) const isMobile = $(window).width() < breakpointMobileWidth if (!isMobile) { -- GitLab