From fb32bbc92bb990baeb1585249115b68c6f2a1a19 Mon Sep 17 00:00:00 2001 From: David Sevilla Martin Date: Sun, 24 Jul 2016 12:16:00 -0400 Subject: [PATCH] Handle word wrapping properly in posts * Added overflow-wrap break-word to .Post-body * Added overflow-wrap normal to pre in .Post-body for code blocks (may change) --- framework/core/less/forum/Post.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/core/less/forum/Post.less b/framework/core/less/forum/Post.less index 263f1e44a..0d606882c 100644 --- a/framework/core/less/forum/Post.less +++ b/framework/core/less/forum/Post.less @@ -92,6 +92,7 @@ line-height: 1.7; position: relative; overflow: auto; + overflow-wrap: break-word; p, ul, ol, blockquote { margin-bottom: 1em; @@ -134,6 +135,7 @@ color: #666; font-size: 90%; border-radius: @border-radius; + overflow-wrap: normal; code { padding: 0;