Skip to content

Commit 3b5c643

Browse files
authored
Merge pull request #28044 from nextcloud/backport/27994/stable21
[stable21] Increase footer height for longer menus
2 parents 494496a + 0aa9751 commit 3b5c643

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/files/css/files.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,8 @@ a.action > img {
696696
.summary {
697697
color: var(--color-text-maxcontrast);
698698
/* add whitespace to bottom of files list to correctly show dropdowns */
699-
height: 250px;
699+
$action-menu-items-count: 7; // list view has currently max 7 items in its action menu
700+
height: 44px * ($action-menu-items-count + 0.5); // 0.5 is added to show some whitespace below
700701
}
701702
#filestable .filesummary {
702703
width: 100%;
@@ -1118,6 +1119,8 @@ table.dragshadow td.size {
11181119
.summary:not(.hidden) {
11191120
display: inline-block;
11201121
margin: 0 auto;
1122+
$action-menu-items-count: 9; // grid view has currently max 9 items in its action menu
1123+
height: 44px * ($action-menu-items-count + 0.5); // 0.5 is added to show some whitespace below
11211124

11221125
td {
11231126
padding-top: 50px;

0 commit comments

Comments
 (0)