Fix popovermenu position

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
This commit is contained in:
Jan-Christoph Borchardt 2018-10-03 12:25:56 +02:00
parent 10c96656a2
commit 34038136b0
No known key found for this signature in database
GPG Key ID: CBD846FC845CBE17
1 changed files with 13 additions and 0 deletions

View File

@ -746,6 +746,7 @@ table.dragshadow td.size {
display: block;
position: relative;
height: 180px;
border-radius: var(--border-radius);
}
td {
@ -827,4 +828,16 @@ table.dragshadow td.size {
#fileList .action.action-share.permanent.shared-style span:not(.icon) {
display: none;
}
/* Position actions menu below file */
.popovermenu {
left: 0;
width: 169px;
/* Ellipsize long entries, normally menu width is adjusted but for grid we use fixed width. */
.menuitem span:not(.icon) {
overflow: hidden;
text-overflow: ellipsis;
}
}
}