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