diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-12-15 13:52:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-15 13:52:09 +0100 |
commit | 19ffdecb4f1133ce4899614a9e78fc7640d30260 (patch) | |
tree | 01ea0ff09c9d92fd66051a3b182230e36111d895 | |
parent | cfb3f44459f274eb4e13e6c69425080acfc6c8fe (diff) | |
parent | 39c549fa27a17290dfb9cc2eaa8b17d0db2e1c7e (diff) | |
download | nextcloud-server-19ffdecb4f1133ce4899614a9e78fc7640d30260.tar.gz nextcloud-server-19ffdecb4f1133ce4899614a9e78fc7640d30260.zip |
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
-rw-r--r-- | apps/files/css/files.scss | 1 | ||||
-rw-r--r-- | apps/files/css/mobile.scss | 5 | ||||
-rw-r--r-- | apps/files/js/files.js | 1 |
3 files changed, 6 insertions, 1 deletions
diff --git a/apps/files/css/files.scss b/apps/files/css/files.scss index 1be3c9216f0..6135b1ceeca 100644 --- a/apps/files/css/files.scss +++ b/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; diff --git a/apps/files/css/mobile.scss b/apps/files/css/mobile.scss index 12c9e4fa2d3..10fa29e7a38 100644 --- a/apps/files/css/mobile.scss +++ b/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; +} + } diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 017bf7ecf41..479a2817f44 100644 --- a/apps/files/js/files.js +++ b/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, |