diff --git a/client/css/comment-control.styl b/client/css/comment-control.styl index 343dbd46..96d7e7af 100644 --- a/client/css/comment-control.styl +++ b/client/css/comment-control.styl @@ -52,6 +52,9 @@ $comment-border-color = #DDD padding: 0 1em line-height: 2.25em + .score-container, .link-container + display: inline-block + &:before position: absolute display: block diff --git a/client/html/comment.tpl b/client/html/comment.tpl index b3b961a0..04469c9a 100644 --- a/client/html/comment.tpl +++ b/client/html/comment.tpl @@ -41,20 +41,20 @@ %><% - %><% + %><% if (ctx.canEditComment || ctx.canDeleteComment) { %><% + %><% + %><% if (ctx.canEditComment) { %><% + %><% + %> edit<% + %><% + %><% } %><% - %><% if (ctx.canEditComment) { %><% - %><% - %> edit<% - %><% - %><% } %><% - - %><% - - %><% if (ctx.canDeleteComment) { %><% - %><% - %> delete<% - %><% + %><% if (ctx.canDeleteComment) { %><% + %><% + %> delete<% + %><% + %><% } %><% + %><% %><% } %><% %><% %>