Merge pull request #21730 from nextcloud/design/app-limit
Up the limit for the header app menu
This commit is contained in:
commit
7d5854a38c
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…
Reference in New Issue