From 40d4c8b54b2ce4b0320b6ac781019cc55594be04 Mon Sep 17 00:00:00 2001 From: Adolfo Fitoria Date: Tue, 30 Aug 2011 15:20:51 -0300 Subject: Fixed css and removed dash from author name --- askbot/skins/default/media/js/post.js | 4 +++- askbot/skins/default/media/style/style.css | 17 ++++++++++++----- 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 = $(''); this._textarea.attr('id', this._id); + /* this._help_text = $('').attr('class', 'help-text'); this._help_text.html(gettext('Markdown is allowed in the comments')); div.append(this._help_text); this._help_text = $('
').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 = $('
'); this._comment_body.html(this._data['html']); - this._comment_body.append(' – '); + //this._comment_body.append(' – '); this._user_link = $('').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 %}
- {{comment.html}} – + {{comment.html}}