From 23f67abb0eae540a404836a11fdd924715729580 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Tue, 22 Feb 2011 11:47:09 +1100 Subject: [PATCH] Word-wrap fix for OP. --- inc/display.php | 2 +- style.css | 8 ++++++-- 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 @@ '

'; // Body - $built .= $this->body . + $built .= '

' . $this->body . '

' . // Omitted posts ($this->omitted || $this->omitted_images? '' . 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;