summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2021-07-15 15:30:24 +0200
committerszaimen <szaimen@e.mail.de>2021-07-16 17:05:45 +0200
commit67d0053ecc6a1cb35fbab745a22f7b432f47b676 (patch)
tree75c8edf8400a3d62c88983e662a7bc0a539af762 /apps/files
parent7f572c0645d2bf815d1d00e5434d6222aa3c40aa (diff)
downloadnextcloud-server-67d0053ecc6a1cb35fbab745a22f7b432f47b676.tar.gz
nextcloud-server-67d0053ecc6a1cb35fbab745a22f7b432f47b676.zip
Increase footer padding for longer menus
Signed-off-by: szaimen <szaimen@e.mail.de> Co-Authored-By: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/css/files.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index d26c268db92..5b17fe92f87 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -704,7 +704,8 @@ a.action > img {
.summary {
color: var(--color-text-maxcontrast);
/* add whitespace to bottom of files list to correctly show dropdowns */
- height: 250px;
+ $action-menu-items-count: 7; // list view has currently max 7 items in its action menu
+ height: 44px * ($action-menu-items-count + 0.5); // 0.5 is added to show some whitespace below
}
#filestable .filesummary {
width: 100%;
@@ -1112,6 +1113,8 @@ table.dragshadow td.size {
.summary:not(.hidden) {
display: inline-block;
margin: 0 auto;
+ $action-menu-items-count: 9; // grid view has currently max 9 items in its action menu
+ height: 44px * ($action-menu-items-count + 0.5); // 0.5 is added to show some whitespace below
td {
padding-top: 50px;