Word-wrap fix for OP.

This commit is contained in:
Savetheinternet 2011-02-22 11:47:09 +11:00
parent ecea978fad
commit 23f67abb0e
2 changed files with 7 additions and 3 deletions

View File

@ -375,7 +375,7 @@
'</p>'; '</p>';
// Body // Body
$built .= $this->body . $built .= '<p class="body">' . $this->body . '</p>' .
// Omitted posts // Omitted posts
($this->omitted || $this->omitted_images? '<span class="omitted">' . ($this->omitted || $this->omitted_images? '<span class="omitted">' .

View File

@ -178,7 +178,6 @@ div.post.reply p.body {
margin-top: 0.8em; margin-top: 0.8em;
padding-right: 3em; padding-right: 3em;
padding-bottom: 0.3em; padding-bottom: 0.3em;
word-wrap: break-word;
} }
div.post.reply.highlighted { div.post.reply.highlighted {
background: #D6BAD0; background: #D6BAD0;
@ -186,6 +185,12 @@ div.post.reply.highlighted {
div.post.reply p.body a { div.post.reply p.body a {
color: #D00; color: #D00;
} }
div.post {
max-width: 97%;
}
div.post p.body {
word-wrap: break-word;
}
div.post.reply { div.post.reply {
background: #D6DAF0; background: #D6DAF0;
float: left; float: left;
@ -194,7 +199,6 @@ div.post.reply {
border-width: 1px; border-width: 1px;
border-style: none solid solid none; border-style: none solid solid none;
border-color: #B7C5D9; border-color: #B7C5D9;
max-width: 97%;
} }
span.trip { span.trip {
color: #228854; color: #228854;