From 34038136b03d8cefef533d1944b0bb1420630ab8 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Wed, 3 Oct 2018 12:25:56 +0200 Subject: Fix popovermenu position Signed-off-by: Jan-Christoph Borchardt --- apps/files/css/files.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'apps/files/css/files.scss') 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; + } + } } -- cgit v1.2.3