diff options
author | szaimen <szaimen@e.mail.de> | 2021-07-19 10:43:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 10:43:13 +0200 |
commit | 4c20803d97e7cd49ec10d4cbc30e5272bb4b231a (patch) | |
tree | 55b84e33029931ac6fa6c4b0329710d4a71c195b /apps/files | |
parent | 3f99750a669bc91d324046e6cf73f5a56cefc48b (diff) | |
parent | 67d0053ecc6a1cb35fbab745a22f7b432f47b676 (diff) | |
download | nextcloud-server-4c20803d97e7cd49ec10d4cbc30e5272bb4b231a.tar.gz nextcloud-server-4c20803d97e7cd49ec10d4cbc30e5272bb4b231a.zip |
Merge pull request #27994 from nextcloud/enh/noid/fix-footer-padding
Increase footer height for longer menus
Diffstat (limited to 'apps/files')
-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 65ce6d35f86..05540257184 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -709,7 +709,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%; @@ -1131,6 +1132,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; |