Merge pull request #12162 from nextcloud/file-menu-align

Align file menu below '+' button, fix #5595
This commit is contained in:
Morris Jobke 2018-11-01 12:01:05 +01:00 committed by GitHub
commit 0247a0d6db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,12 @@
}
/* FILE MENU */
.actions { padding:5px; height:32px; display: inline-block; float: left; }
.actions {
padding: 5px;
height: 100%;
display: inline-block;
float: left;
}
.actions input, .actions button, .actions .button { margin:0; float:left; }
.actions .button a { color: #555; }
.actions .button a:hover,
@ -659,8 +664,14 @@ table.dragshadow td.size {
top: 100%;
margin-top: 4px;
min-width: 100px;
margin-left: 7px;
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;
}
}
#filestable .filename .action .icon,