From 67d0053ecc6a1cb35fbab745a22f7b432f47b676 Mon Sep 17 00:00:00 2001 From: szaimen Date: Thu, 15 Jul 2021 15:30:24 +0200 Subject: [PATCH] Increase footer padding for longer menus MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: szaimen Co-Authored-By: Julius Härtl --- apps/files/css/files.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.39.5