Skip to content

Commit ba99042

Browse files
authored
Merge pull request #27940 from nextcloud/backport/27867/stable21
[stable21] fix newfileMenu on public page
2 parents 7e446c3 + 3b0d17b commit ba99042

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

apps/files/css/files.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,15 +766,14 @@ table.dragshadow td.size {
766766
.newFileMenu {
767767
font-weight: 300;
768768
top: 100%;
769+
left: -48px !important;
769770
margin-top: 4px;
770771
min-width: 100px;
771-
margin-left: 22px; /* Align left edge below center of + button … */
772-
transform: translateX(-50%); /* … then center it below button */
773772
z-index: 1001;
774773

775774
/* Center triangle */
776775
&::after {
777-
left: calc(50% - 8px) !important;
776+
left: 57px !important;
778777
}
779778
}
780779

0 commit comments

Comments
 (0)