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

View file

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