diff --git a/core/css/share.css b/core/css/share.css index a683a24a11660577a07fdac0fdf1e9015327a7af..e4b4870dd163a0171f37c837181ae07a46df7c50 100644 --- a/core/css/share.css +++ b/core/css/share.css @@ -2,10 +2,11 @@ This file is licensed under the Affero General Public License version 3 or later. See the COPYING-README file. */ -#dropdown { display:block; position:absolute; z-index:500; width:16em; right:0; margin-right:7em; background:#eee; padding:1em; +#dropdown { display:block; position:absolute; z-index:500; width:19em; right:0; margin-right:7em; background:#eee; padding:1em; -moz-box-shadow:0 1px 1px #777; -webkit-box-shadow:0 1px 1px #777; box-shadow:0 1px 1px #777; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; -moz-border-radius-bottomright:1em; -webkit-border-bottom-right-radius:1em; border-bottom-right-radius:1em; } +.reshare { padding-left:0.5em; } #shareWithList { padding:0.5em; list-style-type: none; } #shareWithList li { padding-top:0.1em; } #dropdown label { font-weight:normal; } diff --git a/core/js/share.js b/core/js/share.js index b246849b479d1683ebb3d54b36ad7644c3081b42..bd1fa14d3f573b7ace03394e4366d2d268997a62 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -95,9 +95,9 @@ OC.Share={ var html = '<div id="dropdown" class="drop" data-item-type="'+itemType+'" data-item-source="'+itemSource+'">'; if (data.reshare) { if (data.reshare.share_type == OC.Share.SHARE_TYPE_GROUP) { - html += 'Shared with you and the group '+data.reshare.share_with+' by '+data.reshare.uid_owner; + html += '<span class="reshare">Shared with you and the group '+data.reshare.share_with+' by '+data.reshare.uid_owner+'</span>'; } else { - html += 'Shared with you by '+data.reshare.uid_owner; + html += '<span class="reshare">Shared with you by '+data.reshare.uid_owner+'</span>'; } html += '<br />'; }