Browse Source
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
pull/7553/head
Morris Jobke
9 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
6 additions and
1 deletions
-
apps/files/css/files.scss
-
apps/files/css/mobile.scss
-
apps/files/js/files.js
|
|
|
@ -649,6 +649,7 @@ table tr.summary td { |
|
|
|
|
|
|
|
table.dragshadow { |
|
|
|
width:auto; |
|
|
|
z-index: 100; |
|
|
|
} |
|
|
|
table.dragshadow td.filename { |
|
|
|
padding-left:60px; |
|
|
|
|
|
|
|
@ -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; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
@ -383,7 +383,6 @@ var dragOptions={ |
|
|
|
revert: 'invalid', |
|
|
|
revertDuration: 300, |
|
|
|
opacity: 0.7, |
|
|
|
zIndex: 100, |
|
|
|
appendTo: 'body', |
|
|
|
cursorAt: { left: 24, top: 18 }, |
|
|
|
helper: createDragShadow, |
|
|
|
|