new: update css to have better rendering in read mode.

This commit is contained in:
Nicolas JEUDY
2015-01-03 19:05:39 +01:00
committed by Olga Marco
parent 8a755ed695
commit dc3e07a5fc
2 changed files with 319 additions and 17 deletions

View File

@@ -5,7 +5,7 @@
<t t-name="FieldMarkDown">
<div t-attf-class="oe_form_field oe_form_field_text oe_form_field_markdown #{widget.get('effective_readonly')?'web_markdown_read_only':'web_markdown_edit'}" t-att-style="widget.node.attrs.style">
<div t-attf-class="oe_form_field oe_form_field_markdown markdown-body" t-att-style="widget.node.attrs.style">
<t t-if="!widget.get('effective_readonly')">
<textarea rows="6"