]> source.dussan.org Git - nextcloud-server.git/commitdiff
Increase footer padding for longer menus 28044/head
authorszaimen <szaimen@e.mail.de>
Thu, 15 Jul 2021 13:30:24 +0000 (15:30 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Mon, 19 Jul 2021 08:49:38 +0000 (08:49 +0000)
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: Julius Härtl <jus@bitgrid.net>
apps/files/css/files.scss

index 1bee967787483fa52378ea35eff1f95160f8b2dd..c3462e06dcc83e5b623e156c940b83e32abcc617 100644 (file)
@@ -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;