summaryrefslogtreecommitdiffstats
path: root/apps/files/css
diff options
context:
space:
mode:
authorszaimen <szaimen@e.mail.de>2021-07-15 15:30:24 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2021-07-19 08:49:38 +0000
commit0aa97515ffa40ec1430a7234a4d9af81c91de983 (patch)
treefe052eeb469ac1a853d4d71edc5e95f06f7517df /apps/files/css
parent494496a257d344fb092e7deb4f8514a4ff2c3a1f (diff)
downloadnextcloud-server-0aa97515ffa40ec1430a7234a4d9af81c91de983.tar.gz
nextcloud-server-0aa97515ffa40ec1430a7234a4d9af81c91de983.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/css')
-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 1bee9677874..c3462e06dcc 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -696,7 +696,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%;
@@ -1118,6 +1119,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;