]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix newfileMenu on public page 27941/head
authorszaimen <szaimen@e.mail.de>
Thu, 8 Jul 2021 00:21:10 +0000 (02:21 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Tue, 13 Jul 2021 11:55:43 +0000 (11:55 +0000)
Signed-off-by: szaimen <szaimen@e.mail.de>
apps/files/css/files.scss

index c323ff9b51b439dfdcb66ba01492100c7b1abf53..81376a38d9d5df326ec6393693f8dcaa840683bf 100644 (file)
@@ -758,15 +758,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;
        }
 }