]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix newfileMenu on public page 27940/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:54:37 +0000 (11:54 +0000)
Signed-off-by: szaimen <szaimen@e.mail.de>
apps/files/css/files.scss

index 091515fa4e882f544ca4a1aa4bb4a5c88a1738ca..74770bf58eaf06d7e44e95ee2e0c85332bbbd04d 100644 (file)
@@ -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;
        }
 }