From: Tom Hughes Date: Wed, 17 Apr 2013 21:36:19 +0000 (+0100) Subject: Allowing wrapping inside the content of a richtext editor X-Git-Tag: live~5129 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/92210a5be1d1f2514a382cdba85d8fe01ffe4440?ds=sidebyside 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. --- 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");