From 65e9c67bbd625b98f23b6ae56b8b1bd01477653c 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 66e2f2af1ddc7..d26c268db92b9 100644 --- a/apps/files/css/files.scss +++ b/apps/files/css/files.scss @@ -774,15 +774,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; } }