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

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

View File

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

View File

@ -69,4 +69,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,