summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-03 12:25:56 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2018-10-18 13:44:04 +0200
commit34038136b03d8cefef533d1944b0bb1420630ab8 (patch)
tree1353eaec56b86815dce8e19996f984c446a5c234 /apps
parent10c96656a23c596fe1f6af16f14f6e2fe5b4517b (diff)
downloadnextcloud-server-34038136b03d8cefef533d1944b0bb1420630ab8.tar.gz
nextcloud-server-34038136b03d8cefef533d1944b0bb1420630ab8.zip
Fix popovermenu position
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/css/files.scss13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss
index f8185977de0..c8bac605381 100644
--- a/apps/files/css/files.scss
+++ b/apps/files/css/files.scss
@@ -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;
+ }
+ }
}