From a7ce8c6418631f070378429b22f8771c3239f148 Mon Sep 17 00:00:00 2001
From: Jeff Atwood <jatwood@discourse.org>
Date: Tue, 24 Jun 2014 00:40:12 -0700
Subject: [PATCH] move .cooked word-wrap: break-word into base CSS

---
 app/assets/stylesheets/common/base/topic-post.scss | 10 +++++++++-
 app/assets/stylesheets/desktop/topic-post.scss     |  5 -----
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss
index 420e75196..bb5295071 100644
--- a/app/assets/stylesheets/common/base/topic-post.scss
+++ b/app/assets/stylesheets/common/base/topic-post.scss
@@ -20,8 +20,16 @@
  }
 }
 
-.cooked .highlight{
+.cooked .highlight {
   background-color: scale-color($highlight, $lightness: 40%);
   padding: 2px;
   margin: -2px;
 }
+
+.contents .cooked a {
+  word-wrap: break-word;
+}
+
+.contents .cooked {
+  word-wrap: break-word;
+}
\ No newline at end of file
diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss
index 392bc6d9e..85cceaa3b 100644
--- a/app/assets/stylesheets/desktop/topic-post.scss
+++ b/app/assets/stylesheets/desktop/topic-post.scss
@@ -600,12 +600,7 @@ iframe {
   position: relative;
 }
 
-.contents .cooked a {
-  word-wrap: break-word;
-}
-
 .contents .cooked {
-  word-wrap: break-word;
   h1, h2, h3, h4, h5, h6 { margin: 30px 0 10px; }
 }