client/comments: fix header wrapping on chrome

This commit is contained in:
rr- 2017-01-03 19:37:59 +01:00
parent 42bf4b12a2
commit e2fcd08ce9
2 changed files with 16 additions and 13 deletions

View file

@ -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

View file

@ -41,20 +41,20 @@
%><span class='score-container'></span><%
%><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.canEditComment) { %><%
%><a href class='edit'><%
%><i class='fa fa-pencil'></i> edit<%
%></a><%
%><% } %><%
%><wbr><%
%><% 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>