From c9da5f4173357cc22e088d2eeacf6e5cfa35abe6 Mon Sep 17 00:00:00 2001 From: Valerie Pirenne <vpi@odoo.com> Date: Wed, 27 May 2015 13:27:49 +0200 Subject: [PATCH] [FIX] mail: timeline view icons --- addons/mail/static/src/css/mail.css | 10 ++++++---- addons/mail/views/mail_message_views.xml | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/addons/mail/static/src/css/mail.css b/addons/mail/static/src/css/mail.css index 5946a6a895b8..bff0fb1169dc 100644 --- a/addons/mail/static/src/css/mail.css +++ b/addons/mail/static/src/css/mail.css @@ -96,13 +96,13 @@ .openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_message .o_timeline_parent_subject { display: inline-block; - width: 442px; + width: 430px; cursor: pointer; vertical-align: middle; } .openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_message .o_timeline_parent_subject.o_timeline_small_subject { - width: 411px; + width: 400px; } .openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_message .o_timeline_parent_subject .o_timeline_subject { @@ -114,7 +114,7 @@ } .openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_message .o_timeline_parent_subject.o_timeline_small_subject .o_timeline_subject { - max-width: 405px; + max-width: 390px; } .openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_message .o_timeline_parent_subject .o_timeline_nb_unread_msg { @@ -187,7 +187,9 @@ /* followers */ .openerp .o_timeline .o_timeline_thread_parent .o_timeline_parent_followers { - margin-right: 15px; + display: inline-block; + min-width: 45px; + margin-right: 10px; color: #337ab7; } diff --git a/addons/mail/views/mail_message_views.xml b/addons/mail/views/mail_message_views.xml index ded2ba5e0f5d..537e33b0709d 100644 --- a/addons/mail/views/mail_message_views.xml +++ b/addons/mail/views/mail_message_views.xml @@ -387,9 +387,9 @@ </a> </span> <!-- *** author *** --> - <span class="o_timeline_parent_followers" t-if="widget.nb_followers > 0"> <!-- *** followers *** --> - <span title="Number of followers"> <t t-raw="widget.nb_followers"/> </span> - <i class="oe_follwrs fa fa-users"></i> + <span class="o_timeline_parent_followers"> <!-- *** followers *** --> + <span t-if="widget.nb_followers > 0" title="Number of followers"> <t t-raw="widget.nb_followers"/> </span> + <i t-if="widget.nb_followers > 0" class="oe_follwrs fa fa-users"></i> </span> <!-- *** followers *** --> <span class="o_timeline_msg_icons" t-if="!options.readonly"> <!-- *** repy *** --> -- GitLab