diff options
author | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2011-08-30 15:20:51 -0300 |
---|---|---|
committer | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2011-08-30 16:57:52 -0300 |
commit | 40d4c8b54b2ce4b0320b6ac781019cc55594be04 (patch) | |
tree | 30477ef5958845b6cf7bc4695be475aee15ebf35 | |
parent | 6917935e5abb40257e30167a32b61f12d73d2f2e (diff) | |
download | askbot-40d4c8b54b2ce4b0320b6ac781019cc55594be04.tar.gz askbot-40d4c8b54b2ce4b0320b6ac781019cc55594be04.tar.bz2 askbot-40d4c8b54b2ce4b0320b6ac781019cc55594be04.zip |
Fixed css and removed dash from author name
-rw-r--r-- | askbot/skins/default/media/js/post.js | 4 | ||||
-rw-r--r-- | askbot/skins/default/media/style/style.css | 17 | ||||
-rw-r--r-- | askbot/skins/default/templates/macros.html | 2 |
3 files changed, 16 insertions, 7 deletions
diff --git a/askbot/skins/default/media/js/post.js b/askbot/skins/default/media/js/post.js index fa194e86..a70aca5f 100644 --- a/askbot/skins/default/media/js/post.js +++ b/askbot/skins/default/media/js/post.js @@ -1040,12 +1040,14 @@ EditCommentForm.prototype.createDom = function(){ this._textarea = $('<textarea></textarea>'); this._textarea.attr('id', this._id); + /* this._help_text = $('<span></span>').attr('class', 'help-text'); this._help_text.html(gettext('Markdown is allowed in the comments')); div.append(this._help_text); this._help_text = $('<div></div>').attr('class', 'clearfix'); div.append(this._help_text); + */ this._element.append(div); div.append(this._textarea); @@ -1270,7 +1272,7 @@ Comment.prototype.setContent = function(data){ this._comment_body = $('<div class="comment-body"></div>'); this._comment_body.html(this._data['html']); - this._comment_body.append(' – '); + //this._comment_body.append(' – '); this._user_link = $('<a></a>').attr('class', 'author'); this._user_link.attr('href', this._data['user_url']); diff --git a/askbot/skins/default/media/style/style.css b/askbot/skins/default/media/style/style.css index 05905e38..7d2c558f 100644 --- a/askbot/skins/default/media/style/style.css +++ b/askbot/skins/default/media/style/style.css @@ -1102,6 +1102,8 @@ div.comment .comment-body { div.comment .comment-body p{ font-size:inherit; + margin-bottom: 3px; + padding: 0; } div.comment .comment-delete { @@ -1151,13 +1153,15 @@ div.comment .upvote:hover { .comments textarea { display: block; - height: 48px; - width: 560px; - margin: 3px 0px; + height: 42px; + width: 572px; + margin: 6px 0 5px 1px; font-family: sans-serif; + outline: none; + overflow:auto; font-size: 12px; - line-height: 130%; - padding: 4px; + line-height: 140%; + padding-left:2px; } .comments input { @@ -1188,6 +1192,9 @@ div.comment .upvote:hover { float: right; text-align:right; color: gray; + margin-bottom: 0px; + margin-top: 0px; + line-height: 50%; } span.text-counter { diff --git a/askbot/skins/default/templates/macros.html b/askbot/skins/default/templates/macros.html index fa15426f..50e768ce 100644 --- a/askbot/skins/default/templates/macros.html +++ b/askbot/skins/default/templates/macros.html @@ -494,7 +494,7 @@ for the purposes of the AJAX comment editor #} {% endif %} </div> <div class="comment-body"> - {{comment.html}} – + {{comment.html}} <a class="author" href="{{comment.user.get_profile_url()}}" |