diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2020-07-07 14:25:11 +0300 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2020-07-10 09:43:38 +0300 |
commit | df9529e9ea491a1700c9ebc58825f03737f618a2 (patch) | |
tree | a1b57a53a43957a881651bdf8956bdcf000b69db /core/src | |
parent | 7868d4e3b297820f3335bf58c9d24ce81a57f563 (diff) |
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>
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/init.js | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |