diff options
| author | rr- <rr-@sakuya.pl> | 2017-01-03 19:37:59 +0100 |
|---|---|---|
| committer | rr- <rr-@sakuya.pl> | 2017-01-03 19:37:59 +0100 |
| commit | e2fcd08ce99f8850d3f319ed134b00c3b0e3629f (patch) | |
| tree | 23a7787c74b56d632d65de8a9179cec5497bc908 /client/html | |
| parent | 42bf4b12a27f9de81f10ac7af0e194b8ab6f4921 (diff) | |
client/comments: fix header wrapping on chrome
Diffstat (limited to 'client/html')
| -rw-r--r-- | client/html/comment.tpl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/client/html/comment.tpl b/client/html/comment.tpl index b3b961a..04469c9 100644 --- a/client/html/comment.tpl +++ b/client/html/comment.tpl @@ -41,20 +41,20 @@ %><span class='score-container'></span><% - %><wbr><% - - %><% if (ctx.canEditComment) { %><% - %><a href class='edit'><% - %><i class='fa fa-pencil'></i> edit<% - %></a><% - %><% } %><% - - %><wbr><% + %><% if (ctx.canEditComment || ctx.canDeleteComment) { %><% + %><span class='action-container'><% + %><% if (ctx.canEditComment) { %><% + %><a href class='edit'><% + %><i class='fa fa-pencil'></i> edit<% + %></a><% + %><% } %><% - %><% if (ctx.canDeleteComment) { %><% - %><a href class='delete'><% - %><i class='fa fa-remove'></i> delete<% - %></a><% + %><% if (ctx.canDeleteComment) { %><% + %><a href class='delete'><% + %><i class='fa fa-remove'></i> delete<% + %></a><% + %><% } %><% + %></span><% %><% } %><% %></nav><% %></header> |