diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2020-07-07 13:25:11 +0200 |
---|---|---|
committer | npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> | 2020-07-10 06:43:38 +0000 |
commit | df9529e9ea491a1700c9ebc58825f03737f618a2 (patch) | |
tree | a1b57a53a43957a881651bdf8956bdcf000b69db /core/src | |
parent | 7868d4e3b297820f3335bf58c9d24ce81a57f563 (diff) | |
download | nextcloud-server-df9529e9ea491a1700c9ebc58825f03737f618a2.tar.gz nextcloud-server-df9529e9ea491a1700c9ebc58825f03737f618a2.zip |
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) { |