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
parent
commit
19ffdecb4f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      apps/files/css/files.scss
  2. 5
      apps/files/css/mobile.scss
  3. 1
      apps/files/js/files.js

1
apps/files/css/files.scss

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

5
apps/files/css/mobile.scss

@ -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;
}
}

1
apps/files/js/files.js

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

Loading…
Cancel
Save