Browse Source

Word-wrap fix for OP.

pull/40/head
Savetheinternet 13 years ago
parent
commit
23f67abb0e
  1. 2
      inc/display.php
  2. 8
      style.css

2
inc/display.php

@ -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">' .

8
style.css

@ -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;

Loading…
Cancel
Save