From 519f63ee9720e8b7da936f114569e972c86693b4 Mon Sep 17 00:00:00 2001 From: zombiehugs Date: Tue, 3 Dec 2013 08:23:13 -0600 Subject: [PATCH] Revert "[fix] Center Share Dropdown & Versions Dropdown" This reverts commit 1dbbfcf3dcd4de7f31344244b9f22217e4bfba72. --- apps/files_sharing/js/share.js | 2 +- apps/files_versions/js/versions.js | 2 +- core/css/share.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js index 154522bea5..340e093944 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('.name'); + var appendTo = $(tr).find('td.filename'); // 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 eb659002ab..738a7ece6f 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('.name')); + $(html).appendTo($('tr').filterAttr('data-file',filename).find('td.filename')); } else { $(html).appendTo($('thead .share')); } diff --git a/core/css/share.css b/core/css/share.css index 274b309cd6..d8140242e0 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;