diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-03-06 16:13:06 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-03-06 16:13:06 +0100 |
| commit | 13ec67e4781b3ca117b193da29a7b66124efbe74 (patch) | |
| tree | f649cbf3905c49b60abc35746e3f6407de5fcb85 /addons/web/static/src/css | |
| parent | d1c7b2bf3c60488928055c3965630588133720a5 (diff) | |
[FIX] visual problem in some cases in field texts, solved by switching field texts to simple html output instead of textarea when in read-only mode
lp bug: https://launchpad.net/bugs/1149640 fixed
bzr revid: nicolas.vanhoren@openerp.com-20130306151306-1qwv04bvw50z81z9
Diffstat (limited to 'addons/web/static/src/css')
| -rw-r--r-- | addons/web/static/src/css/base.css | 7 | ||||
| -rw-r--r-- | addons/web/static/src/css/base.sass | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css index 5bab586ff60..b0b0db61be3 100644 --- a/addons/web/static/src/css/base.css +++ b/addons/web/static/src/css/base.css @@ -2308,6 +2308,13 @@ .openerp .oe_form .oe_form_field_text { width: 100%; } +.openerp .oe_form .oe_form_field_text .oe_form_text_content { + text-overflow: ellipsis; + display: inline-block; + white-space: pre-wrap; + overflow-x: hidden; + width: 100%; +} .openerp .oe_form .oe_form_field_char input, .openerp .oe_form .oe_form_field_url input, .openerp .oe_form .oe_form_field_email input, diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass index 073926b7c0a..9b8837a511d 100644 --- a/addons/web/static/src/css/base.sass +++ b/addons/web/static/src/css/base.sass @@ -1832,6 +1832,12 @@ $sheet-padding: 16px .oe_form .oe_form_field_text width: 100% + .oe_form_text_content + text-overflow: ellipsis + display: inline-block + white-space: pre-wrap + overflow-x: hidden + width: 100% .oe_form_field_char input, .oe_form_field_url input, .oe_form_field_email input, |
