client/comments: fix header wrapping on chrome
This commit is contained in:
parent
42bf4b12a2
commit
e2fcd08ce9
2 changed files with 16 additions and 13 deletions
|
@ -52,6 +52,9 @@ $comment-border-color = #DDD
|
||||||
padding: 0 1em
|
padding: 0 1em
|
||||||
line-height: 2.25em
|
line-height: 2.25em
|
||||||
|
|
||||||
|
.score-container, .link-container
|
||||||
|
display: inline-block
|
||||||
|
|
||||||
&:before
|
&:before
|
||||||
position: absolute
|
position: absolute
|
||||||
display: block
|
display: block
|
||||||
|
|
|
@ -41,20 +41,20 @@
|
||||||
|
|
||||||
%><span class='score-container'></span><%
|
%><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> edit<%
|
||||||
|
%></a><%
|
||||||
|
%><% } %><%
|
||||||
|
|
||||||
%><% if (ctx.canEditComment) { %><%
|
%><% if (ctx.canDeleteComment) { %><%
|
||||||
%><a href class='edit'><%
|
%><a href class='delete'><%
|
||||||
%><i class='fa fa-pencil'></i> edit<%
|
%><i class='fa fa-remove'></i> delete<%
|
||||||
%></a><%
|
%></a><%
|
||||||
%><% } %><%
|
%><% } %><%
|
||||||
|
%></span><%
|
||||||
%><wbr><%
|
|
||||||
|
|
||||||
%><% if (ctx.canDeleteComment) { %><%
|
|
||||||
%><a href class='delete'><%
|
|
||||||
%><i class='fa fa-remove'></i> delete<%
|
|
||||||
%></a><%
|
|
||||||
%><% } %><%
|
%><% } %><%
|
||||||
%></nav><%
|
%></nav><%
|
||||||
%></header>
|
%></header>
|
||||||
|
|
Loading…
Reference in a new issue