Use div.body instead of p.body; issue #73

This commit is contained in:
Michael Save 2012-08-27 22:32:04 +10:00
parent a7d4a5c3c8
commit 34e9e671b3
5 changed files with 11 additions and 11 deletions

View File

@ -27,7 +27,7 @@ div.post.reply.highlighted {
background: #f0c0b0;
border-color: #d9bfb7;
}
div.post.reply p.body a {
div.post.reply div.body a {
color: navy;
}
p.intro span.subject {

View File

@ -182,7 +182,7 @@ div.delete {
div.post.reply p {
margin: 0.3em 0 0 0;
}
div.post.reply p.body {
div.post.reply div.body {
margin-left: 1.8em;
margin-top: 0.8em;
padding-right: 3em;
@ -191,13 +191,13 @@ div.post.reply p.body {
div.post.reply.highlighted {
background: #D6BAD0;
}
div.post.reply p.body a {
div.post.reply div.body a {
color: #D00;
}
div.post {
max-width: 97%;
}
div.post p.body {
div.post div.body {
word-wrap: break-word;
white-space: pre-wrap;
}
@ -272,10 +272,10 @@ span.spoiler {
color: black;
padding: 0px 1px;
}
div.post.reply p.body span.spoiler a {
div.post.reply div.body span.spoiler a {
color: black;
}
span.spoiler:hover, div.post.reply p.body span.spoiler:hover a {
span.spoiler:hover, div.post.reply div.body span.spoiler:hover a {
color: white;
}
div.styles {

View File

@ -19,7 +19,7 @@ div.post.reply.highlighted {
background: #f0c0b0;
border-color: #d9bfb7;
}
div.post.reply p.body a {
div.post.reply div.body a {
color: navy;
}
p.intro span.subject {

View File

@ -91,9 +91,9 @@
</a>
{% endif %}
{{ post.postControls }}
<p class="body">
<div class="body">
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
</p>
</div>
</div>
<br/>
{% endfilter %}

View File

@ -102,9 +102,9 @@
{% endif %}
{{ post.postControls }}
</p>
<p class="body">
<div class="body">
{% endfilter %}{% if index %}{{ post.body|truncate_body(post.link) }}{% else %}{{ post.body }}{% endif %}{% filter remove_whitespace %}
</p>
</div>
{% if post.omitted or post.omitted_images %}
<span class="omitted">
{% if post.omitted %}