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>
pull/21730/head
Jan-Christoph Borchardt 4 years ago committed by npmbuildbot[bot]
parent 7868d4e3b2
commit df9529e9ea

File diff suppressed because one or more lines are too long

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

Loading…
Cancel
Save