Keep midcol spacing for deleted/removed comments.

This commit is contained in:
Brian Simpson
2014-08-28 03:45:30 -04:00
parent ed1951823a
commit dcb727930e
2 changed files with 5 additions and 3 deletions

View File

@@ -2089,6 +2089,10 @@ a.star { text-decoration: none; color: #ff8b60 }
}
}
.comment.deleted > .midcol {
visibility: hidden;
}
.comment .showreplies {
display: block;
margin-top: 7px;

View File

@@ -24,9 +24,7 @@
<%namespace file="utils.html" import="plain_link" />
<%def name="midcol(display=True, cls = '')">
%if c.profilepage or (not thing._deleted and (not thing._spam or thing.is_author or c.user_is_admin)):
${parent.midcol(display=display, cls = cls)}
%endif
${parent.midcol(display=display, cls = cls)}
</%def>
<%def name="tagline()">