From a3e31cf81ab4fea850e02bb4e4c55509d334a1f4 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Tue, 20 Mar 2012 16:32:57 +0100 Subject: [PATCH] [FIX] edi: avoid disprupting EDI preview layout with wide notes bzr revid: odo@openerp.com-20120320153257-x054ifk2wxdn8hgv --- addons/edi/static/src/css/edi.css | 8 ++++++++ 1 file changed, 8 insertions(+) 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
 styling */
+    white-space: pre-line;
+    width: 90%;
+}
+.oe_edi_data_row .oe_edi_inner_note {
+    /* prevent wide notes from disrupting layout due to 
 styling */
+    width: 25em;
 }
 .oe_edi_shade {
     background: #e8e8e8;