mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 01:11:23 +00:00
Fixes word wrapping issues
This commit is contained in:
parent
4b3fc78d49
commit
3d6904cd5f
5 changed files with 15 additions and 3 deletions
|
@ -58,6 +58,11 @@
|
|||
width: 100%;
|
||||
position: relative;
|
||||
|
||||
.comment-body {
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1em;
|
||||
margin-bottom: .5em;
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
display: table-cell;
|
||||
|
||||
.contents {
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 0 10px;
|
||||
|
|
|
@ -58,6 +58,11 @@
|
|||
width: 100%;
|
||||
position: relative;
|
||||
|
||||
.comment-body {
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1em;
|
||||
margin-bottom: .5em;
|
||||
|
|
|
@ -39,8 +39,8 @@
|
|||
display: table-cell;
|
||||
|
||||
.contents {
|
||||
word-break: break-word;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all;
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 0 10px;
|
||||
|
|
|
@ -19,7 +19,9 @@
|
|||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
<%= comment.text_parsed.html_safe %>
|
||||
<div class="comment-body">
|
||||
<%= comment.text_parsed.html_safe %>
|
||||
</div>
|
||||
<p class="comment-detail"><%= comment.created_at.strftime("%-d %B %Y, %H:%M") %></h2>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue