summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-02-22 11:47:09 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-02-22 11:47:09 +1100
commit23f67abb0eae540a404836a11fdd924715729580 (patch)
treee0f58c23c01836e9d1c571bac13a99bfb28aa23b
parentecea978fada5820437d41afe02d3152e234e5d08 (diff)
Word-wrap fix for OP.
-rw-r--r--inc/display.php2
-rw-r--r--style.css8
2 files changed, 7 insertions, 3 deletions
diff --git a/inc/display.php b/inc/display.php
index 051a7091..b3e7a35a 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -375,7 +375,7 @@
'</p>';
// Body
- $built .= $this->body .
+ $built .= '<p class="body">' . $this->body . '</p>' .
// Omitted posts
($this->omitted || $this->omitted_images? '<span class="omitted">' .
diff --git a/style.css b/style.css
index c04cba83..13ad2c56 100644
--- a/style.css
+++ b/style.css
@@ -178,7 +178,6 @@ div.post.reply p.body {
margin-top: 0.8em;
padding-right: 3em;
padding-bottom: 0.3em;
- word-wrap: break-word;
}
div.post.reply.highlighted {
background: #D6BAD0;
@@ -186,6 +185,12 @@ div.post.reply.highlighted {
div.post.reply p.body a {
color: #D00;
}
+div.post {
+ max-width: 97%;
+}
+div.post p.body {
+ word-wrap: break-word;
+}
div.post.reply {
background: #D6DAF0;
float: left;
@@ -194,7 +199,6 @@ div.post.reply {
border-width: 1px;
border-style: none solid solid none;
border-color: #B7C5D9;
- max-width: 97%;
}
span.trip {
color: #228854;