summaryrefslogtreecommitdiff
path: root/client/html
diff options
context:
space:
mode:
authorrr- <rr-@sakuya.pl>2017-01-03 19:37:59 +0100
committerrr- <rr-@sakuya.pl>2017-01-03 19:37:59 +0100
commite2fcd08ce99f8850d3f319ed134b00c3b0e3629f (patch)
tree23a7787c74b56d632d65de8a9179cec5497bc908 /client/html
parent42bf4b12a27f9de81f10ac7af0e194b8ab6f4921 (diff)
client/comments: fix header wrapping on chrome
Diffstat (limited to 'client/html')
-rw-r--r--client/html/comment.tpl26
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>&nbsp;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>&nbsp;delete<%
+ %></a><%
+ %><% } %><%
+ %></span><%
%><% } %><%
%></nav><%
%></header>