From 92210a5be1d1f2514a382cdba85d8fe01ffe4440 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 17 Apr 2013 22:36:19 +0100 Subject: [PATCH 1/1] Allowing wrapping inside the content of a richtext editor We disable wrapping on the container to keep the editor and the help on the same line, but need to turn it back on again inside the editor so that autogrow can work. --- app/assets/stylesheets/common.css.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 99e10d165..4ab90f7ab 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -1617,12 +1617,12 @@ a.button.submit { .richtext_content { display: inline-block; vertical-align: top; + white-space: normal; .richtext_preview { display: inline-block; padding: 20px; background-color: #f4f4ff; - white-space: normal; &.loading { background-image: image-url("loading.gif"); -- 2.43.2