summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-08 13:39:39 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-11-08 13:39:39 +0100
commitce391eeccbd11ad163eae9ee5b044d61441a321c (patch)
tree9b491042489a20e310ff51f014cdc0a4f5bf81be /core
parentc6103dc9b725b16df017ba2f0cfd937494012d5a (diff)
downloadnextcloud-server-ce391eeccbd11ad163eae9ee5b044d61441a321c.tar.gz
nextcloud-server-ce391eeccbd11ad163eae9ee5b044d61441a321c.zip
Scroll in popover: max 10 items shown and no flex shrink
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/css/apps.scss1
-rw-r--r--core/css/styles.scss4
2 files changed, 5 insertions, 0 deletions
diff --git a/core/css/apps.scss b/core/css/apps.scss
index 5493375b5ae..8f49df7fdaf 100644
--- a/core/css/apps.scss
+++ b/core/css/apps.scss
@@ -822,6 +822,7 @@ kbd {
}
li {
display: flex;
+ flex: 0 0 auto;
> button,
> a,
> .menuitem {
diff --git a/core/css/styles.scss b/core/css/styles.scss
index c3d3dce67b4..381e0162139 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -1410,6 +1410,10 @@ div.crumb {
.popovermenu {
top: 100%;
margin-right: 3px;
+ ul {
+ max-height: 345px;
+ overflow-y: scroll;
+ }
.in-breadcrumb {
display: none;
}