Skip to content

Commit

Permalink
Merge pull request #258 from ProCynic/master
Browse files Browse the repository at this point in the history
minor fixes to comment / post html css
  • Loading branch information
ProCynic committed May 1, 2012
2 parents 7dd5b42 + 8a91557 commit 6cdcf96
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/tags/comment.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<div id="comment${_comment.id}" class="row" style="background-color:#e8e8e8">
<div class="span1"></div>
<div class="comment-content span4">
<div class="comment-content span4 offset1">
<div class="comment-author">
<a href="@{Users.about(_comment.owner.id)}">
<img src="@{Thumbnails.get30x30(_comment.owner.profile.profilePhoto.id)}" width="30" height="30" />
Expand All @@ -9,7 +8,8 @@
</div>
${_comment.content.markdown().nl2br()}
</div>
<div class="comment-metadata span4">
<div class="span7"></div>
<div class="comment-metadata span4 offset1">
<span id="comment${_comment.id}likes">
${_comment.numLikes()} Like#{if _comment.numLikes() != 1}s#{/if}
</span>
Expand Down
8 changes: 8 additions & 0 deletions public/stylesheets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -428,3 +428,11 @@ border-width: 1px;
border-color:grey;
border-left-style:groove;
}

.post-content {
overflow:hidden;
}

.comment-content {
overflow:hidden;
}

0 comments on commit 6cdcf96

Please sign in to comment.