summaryrefslogtreecommitdiff
path: root/addons/edi/static/src/css
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-03-20 16:32:57 +0100
committerOlivier Dony <odo@openerp.com>2012-03-20 16:32:57 +0100
commita3e31cf81ab4fea850e02bb4e4c55509d334a1f4 (patch)
tree34906b97ccacdaebf3f14dd7f34c2119e1fd77df /addons/edi/static/src/css
parent697e034d542849ada8086f4bc24ed4ed39234584 (diff)
[FIX] edi: avoid disprupting EDI preview layout with wide notes
bzr revid: odo@openerp.com-20120320153257-x054ifk2wxdn8hgv
Diffstat (limited to 'addons/edi/static/src/css')
-rw-r--r--addons/edi/static/src/css/edi.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/addons/edi/static/src/css/edi.css b/addons/edi/static/src/css/edi.css
index 478985ee585..1601151ae1f 100644
--- a/addons/edi/static/src/css/edi.css
+++ b/addons/edi/static/src/css/edi.css
@@ -146,6 +146,14 @@ table.oe_edi_data, .oe_edi_doc_title {
font-style: italic;
font-size: 95%;
padding-left: 10px;
+
+ /* prevent wide notes from disrupting layout due to <pre> styling */
+ white-space: pre-line;
+ width: 90%;
+}
+.oe_edi_data_row .oe_edi_inner_note {
+ /* prevent wide notes from disrupting layout due to <pre> styling */
+ width: 25em;
}
.oe_edi_shade {
background: #e8e8e8;