Merge pull request #7666 from nextcloud/stable12-7527-fix-drag-shadow-not-visible-when-dragging-a-file-on-a-narrow-screen

[stable12] Fix drag shadow not visible when dragging a file on a narrow screen
This commit is contained in:
Morris Jobke 2018-01-09 11:12:15 +01:00 committed by GitHub
commit bbaa765d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 1 deletions

View File

@ -681,6 +681,7 @@ table tr.summary td {
table.dragshadow {
width:auto;
z-index: 100;
}
table.dragshadow td.filename {
padding-left:60px;

View File

@ -85,4 +85,9 @@ table td.filename .nametext .innernametext {
display: block !important;
}
/* ensure that it is visible over #app-content */
table.dragshadow {
z-index: 1000;
}
}

View File

@ -383,7 +383,6 @@ var dragOptions={
revert: 'invalid',
revertDuration: 300,
opacity: 0.7,
zIndex: 100,
appendTo: 'body',
cursorAt: { left: 24, top: 18 },
helper: createDragShadow,