From 3b0d17b9497dd7815a965229b74c806b3567d9ed Mon Sep 17 00:00:00 2001 From: szaimen Date: Thu, 8 Jul 2021 02:21:10 +0200 Subject: [PATCH] fix newfileMenu on public page Signed-off-by: szaimen --- apps/files/css/files.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 091515fa4e882..74770bf58eaf0 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -766,15 +766,14 @@ table.dragshadow td.size { .newFileMenu { font-weight: 300; top: 100%; + left: -48px !important; margin-top: 4px; min-width: 100px; - margin-left: 22px; /* Align left edge below center of + button … */ - transform: translateX(-50%); /* … then center it below button */ z-index: 1001; /* Center triangle */ &::after { - left: calc(50% - 8px) !important; + left: 57px !important; } }