summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzombiehugs <gerdsen@gmail.com>2013-12-03 08:09:58 -0600
committerzombiehugs <gerdsen@gmail.com>2013-12-03 08:14:06 -0600
commit1dbbfcf3dcd4de7f31344244b9f22217e4bfba72 (patch)
treeb7f574b50c504f236b6cbb0b05047e204ffd93be
parent4430eded81aeddd667f85da469c0af08266a1222 (diff)
downloadnextcloud-server-1dbbfcf3dcd4de7f31344244b9f22217e4bfba72.tar.gz
nextcloud-server-1dbbfcf3dcd4de7f31344244b9f22217e4bfba72.zip
[fix] Center Share Dropdown & Versions Dropdown
Center Share Dropdown & Versions Dropdown
-rw-r--r--apps/files_sharing/js/share.js2
-rw-r--r--apps/files_versions/js/versions.js2
-rw-r--r--core/css/share.css2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index 340e0939445..154522bea58 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -29,7 +29,7 @@ $(document).ready(function() {
var itemType = 'file';
}
var possiblePermissions = $(tr).data('permissions');
- var appendTo = $(tr).find('td.filename');
+ var appendTo = $(tr).find('.name');
// Check if drop down is already visible for a different file
if (OC.Share.droppedDown) {
if ($(tr).data('id') != $('#dropdown').attr('data-item-source')) {
diff --git a/apps/files_versions/js/versions.js b/apps/files_versions/js/versions.js
index 738a7ece6f2..eb659002ab8 100644
--- a/apps/files_versions/js/versions.js
+++ b/apps/files_versions/js/versions.js
@@ -87,7 +87,7 @@ function createVersionsDropdown(filename, files) {
if (filename) {
$('tr').filterAttr('data-file',filename).addClass('mouseOver');
- $(html).appendTo($('tr').filterAttr('data-file',filename).find('td.filename'));
+ $(html).appendTo($('tr').filterAttr('data-file',filename).find('.name'));
} else {
$(html).appendTo($('thead .share'));
}
diff --git a/core/css/share.css b/core/css/share.css
index d8140242e06..274b309cd6c 100644
--- a/core/css/share.css
+++ b/core/css/share.css
@@ -8,9 +8,9 @@
border-bottom-right-radius: 5px;
box-shadow:0 1px 1px #777;
display:block;
- margin-right:7em;
position:absolute;
right:0;
+ top: 3.2em;
width:25em;
z-index:500;
padding:1em;