mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Clean up CSS for comment contents, add word-break
This commit is contained in:
parent
ca8f8146c7
commit
709509fd15
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue