Clean up CSS for comment contents, add word-break

This commit is contained in:
Kyle Drake 2017-03-18 11:53:50 -07:00
parent ca8f8146c7
commit 709509fd15
2 changed files with 6 additions and 2 deletions

View file

@ -961,7 +961,6 @@ a.tag:hover {
background: #3399CC;
}
.news-item .title {
margin-bottom: .4em;
position: relative;
width: 100%;
float: left;
@ -1054,6 +1053,11 @@ a.tag:hover {
.news-item .actions, .news-item.comment .content {
margin-left: 61px;
}
.news-item.comment .content {
word-wrap: break-word;
overflow-wrap: break-word;
margin-bottom: 10px;
}
.news-item.comment .comments .actions {
margin-left: 47px;
}

View file

@ -22,5 +22,5 @@
</span>
</div>
<div class="content">
<div style="margin-bottom: 10px"><%== sanitize_comment profile_comment.message %></div>
<%== sanitize_comment profile_comment.message %>
</div>