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>
This commit is contained in:
Jan-Christoph Borchardt 2020-07-07 13:25:11 +02:00 committed by npmbuildbot[bot]
parent 7868d4e3b2
commit df9529e9ea
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -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) {