Skip to content

Commit db03fe9

Browse files
szaimenjuliusknorr
andcommitted
Increase footer padding for longer menus
Signed-off-by: szaimen <szaimen@e.mail.de> Co-Authored-By: Julius Härtl <jus@bitgrid.net>
1 parent 7f572c0 commit db03fe9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/files/css/files.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,8 @@ a.action > img {
704704
.summary {
705705
color: var(--color-text-maxcontrast);
706706
/* add whitespace to bottom of files list to correctly show dropdowns */
707-
height: 250px;
707+
$action-menu-items-count: 7; // list view has currently max 7 items in its action menu
708+
height: 44px * ($action-menu-items-count + 0.5); // 0.5 is added to show some whitespace below
708709
}
709710
#filestable .filesummary {
710711
width: 100%;
@@ -1112,6 +1113,7 @@ table.dragshadow td.size {
11121113
.summary:not(.hidden) {
11131114
display: inline-block;
11141115
margin: 0 auto;
1116+
height: 44px * ($action-menu-items-count + 2 + 0.5); // grid view has two additional items in its action menu in comparison to list view
11151117

11161118
td {
11171119
padding-top: 50px;

0 commit comments

Comments
 (0)