summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2019-12-07 09:48:10 +0100
committerGitHub <noreply@github.com>2019-12-07 09:48:10 +0100
commit2959487f71c8226036ac3614bce27e3bbe60418a (patch)
tree298edeada94863856e6a536e2b5b2876aec92682 /core/css
parentb41112a0237f6d1988c20e78ade26fe96ce99456 (diff)
parentbef426e3f4592a727a863fbba98a948562c80a85 (diff)
downloadnextcloud-server-2959487f71c8226036ac3614bce27e3bbe60418a.tar.gz
nextcloud-server-2959487f71c8226036ac3614bce27e3bbe60418a.zip
Fix size of header menus (#16057)
Fix size of header menus
Diffstat (limited to 'core/css')
-rw-r--r--core/css/header.scss13
1 files changed, 4 insertions, 9 deletions
diff --git a/core/css/header.scss b/core/css/header.scss
index 5c09bdee82f..62ed3e38178 100644
--- a/core/css/header.scss
+++ b/core/css/header.scss
@@ -88,10 +88,12 @@
z-index: 2000;
position: absolute;
max-width: 350px;
- max-height: $header-menu-entry-height * 7.5; // half entry
+ min-height: calc(44px * 1.5); // show at least 1.5 entries
+ max-height: calc(100vh - #{$header-height} * 2);
right: 5px; // relative to parent
top: $header-height;
margin: 0;
+ overflow-y: scroll;
-webkit-overflow-scrolling: touch;
&:not(.popovermenu) {
@@ -113,7 +115,7 @@
/* Use by the apps menu and the settings right menu */
#apps > ul,
- &.settings-menu > ul {
+ &.settings-menu {
li {
a {
display: inline-flex;
@@ -319,13 +321,6 @@ nav[role='navigation'] {
}
}
-#apps {
- max-height: inherit;
- overflow-x: hidden;
- overflow-y: auto;
- -webkit-overflow-scrolling: touch;
-}
-
/* USER MENU -----------------------------------------------------------------*/
#settings {
display: inline-block;