From b5e9e9d6bd375e9a17bbbbc89ae02cc9d23b6b1e Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 30 Oct 2014 16:14:40 -0400 Subject: [PATCH] FIX: Enable word wrap for `pre` tags in embedded discourse on iOS --- app/assets/stylesheets/embed.css.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/assets/stylesheets/embed.css.scss b/app/assets/stylesheets/embed.css.scss index 9c417de2973..03c01ea4690 100644 --- a/app/assets/stylesheets/embed.css.scss +++ b/app/assets/stylesheets/embed.css.scss @@ -80,6 +80,9 @@ article.post { word-wrap: break-word; word-break: break-word; + pre { + white-space: pre-wrap; + } img { max-width:100%; }