diff options
| author | Pierre Paridans <app@odoo.com> | 2019-03-20 14:28:59 +0000 |
|---|---|---|
| committer | Pierre Paridans <app@odoo.com> | 2019-03-21 08:53:51 +0000 |
| commit | 45e3e432a3621cf03a38ce48562eb967f1ff76e0 (patch) | |
| tree | 43733586062d0acecd9be0444175980680dd26e1 /addons | |
| parent | 9c53a141dcecf9646e8ddba42ffca34b4b593b69 (diff) | |
[FIX] web_editor: html field with long links
Following the refactoring of the web_editor (JS & CSS) when adding a
long link in a task's description the line starts to overflow from the
field and create an horizontal scroll.
This commit restores the CSS word-wrap properties to the form field html
allowing to nicely break the line on a word basis, preventing a possible
overflow.
Also it doesn't make sense to apply it on an iframe.
Task ID: 1942179
closes odoo/odoo#31988
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/web_editor/static/src/scss/web_editor.backend.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/scss/web_editor.backend.scss b/addons/web_editor/static/src/scss/web_editor.backend.scss index 83062313b20..af2398bc98e 100644 --- a/addons/web_editor/static/src/scss/web_editor.backend.scss +++ b/addons/web_editor/static/src/scss/web_editor.backend.scss @@ -1,5 +1,6 @@ .oe_form_field_html { position: relative; + word-wrap: break-word; .note-editable { min-height: 180px; @@ -23,7 +24,6 @@ margin: 0; padding: 0; border: 0; - word-wrap: break-word; ul > li > p { margin: 0px; } |
