Merge pull request #28044 from nextcloud/backport/27994/stable21

[stable21] Increase footer height for longer menus
This commit is contained in:
Louis 2021-07-19 11:38:02 +02:00 committed by GitHub
commit 3b5c64386c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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;