Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2020-07-07 14:25:11 +0300
committernpmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>2020-07-10 09:43:38 +0300
commitdf9529e9ea491a1700c9ebc58825f03737f618a2 (patch)
treea1b57a53a43957a881651bdf8956bdcf000b69db /core/src
parent7868d4e3b297820f3335bf58c9d24ce81a57f563 (diff)
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.js4
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) {