Merge pull request #21730 from nextcloud/design/app-limit

Up the limit for the header app menu
This commit is contained in:
Roeland Jago Douma 2020-07-10 09:02:42 +02:00 committed by GitHub
commit 7d5854a38c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {