Skip to content

Commit 82cf1dd

Browse files
authored
Merge pull request #27941 from nextcloud/backport/27867/stable20
[stable20] fix newfileMenu on public page
2 parents 6345abe + e153514 commit 82cf1dd

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

apps/files/css/files.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -758,15 +758,14 @@ table.dragshadow td.size {
758758
.newFileMenu {
759759
font-weight: 300;
760760
top: 100%;
761+
left: -48px !important;
761762
margin-top: 4px;
762763
min-width: 100px;
763-
margin-left: 22px; /* Align left edge below center of + button … */
764-
transform: translateX(-50%); /* … then center it below button */
765764
z-index: 1001;
766765

767766
/* Center triangle */
768767
&::after {
769-
left: calc(50% - 8px) !important;
768+
left: 57px !important;
770769
}
771770
}
772771

0 commit comments

Comments
 (0)