diff options
author | szaimen <szaimen@e.mail.de> | 2021-07-15 15:30:24 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2021-07-19 08:46:51 +0000 |
commit | 45617f7b04de98d602f30a9d340272d27f543e52 (patch) | |
tree | 97242f20ce8ac27e712983b8fac04d852b02635e | |
parent | 05d49b9a6711596177de403594dd288868693aaf (diff) | |
download | nextcloud-server-45617f7b04de98d602f30a9d340272d27f543e52.tar.gz nextcloud-server-45617f7b04de98d602f30a9d340272d27f543e52.zip |
Increase footer padding for longer menus
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | apps/files/css/files.scss | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 7c1a64ae36d..ebd68d3954b 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%; @@ -1126,6 +1127,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; |