diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index e0d001a64fa..a912570c3de 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -230,7 +230,7 @@ border-bottom: 1px solid #D2D9E7; } -.openerp span.oe_mail_msg_body a.reduce, .openerp span.oe_mail_msg_body_short a.expand { +.openerp a.oe_mail_expand, .openerp a.oe_mail_reduce { color: #4E43E7; } diff --git a/addons/mail/static/src/js/mail.js b/addons/mail/static/src/js/mail.js index 2081f8183b9..da0ac27e2ff 100644 --- a/addons/mail/static/src/js/mail.js +++ b/addons/mail/static/src/js/mail.js @@ -285,7 +285,7 @@ openerp.mail = function(session) { // body text manipulation record.body = this.do_clean_text(record.body); record.body = this.do_replace_internal_links(record.body); - this.$element.find('span.oe_mail_msg_body:last').expander(); + this.$element.find('span.oe_mail_msg_body:last').expander({slicePoint: this.params.msg_more_limit, moreClass: 'oe_mail_expand', lesClass: 'oe_mail_reduce'}); // format date according to the user timezone record.date = session.web.format_value(record.date, {type:"datetime"}); // render