summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2012-08-24 11:25:20 -0400
committerMichael Gapczynski <mtgap@owncloud.com>2012-08-24 15:12:16 -0400
commit7168fa4b05db038e24c649dad5a60cfe2230c476 (patch)
tree106ca6abc13f3db5e93c16227d3ddc9e1850afc9
parentfedb3641f9cdd0358951e6b794f5d3cb6d6465cb (diff)
downloadnextcloud-server-7168fa4b05db038e24c649dad5a60cfe2230c476.tar.gz
nextcloud-server-7168fa4b05db038e24c649dad5a60cfe2230c476.zip
Add padding to the reshared text
-rw-r--r--core/css/share.css3
-rw-r--r--core/js/share.js4
2 files changed, 4 insertions, 3 deletions
diff --git a/core/css/share.css b/core/css/share.css
index a683a24a116..e4b4870dd16 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 b246849b479..bd1fa14d3f5 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 />';
}