[FIX] mail: prevent chat window buttons to wrap on multiple lines

This commit is contained in:
Mohammed Shekha
2017-07-10 14:01:49 +02:00
committed by qsm-odoo
parent 7ebedd9438
commit 6cb6803975
2 changed files with 11 additions and 7 deletions
+10 -6
View File
@@ -47,14 +47,18 @@
.o-text-overflow();
}
.o_chat_window_close, .o_chat_window_expand {
color: white;
padding: 3px;
margin-left: 5px;
&:hover {
background-color: darken(@odoo-brand-primary, 10%);
.o_chat_window_buttons {
.o-flex(0, 0, auto);
.o_chat_window_close, .o_chat_window_expand {
color: white;
padding: 3px;
margin-left: 5px;
&:hover {
background-color: darken(@odoo-brand-primary, 10%);
}
}
}
}
.o_mail_thread {
+1 -1
View File
@@ -46,7 +46,7 @@
<t t-esc="title"/>
<span t-if="unread_counter"> (<t t-esc="unread_counter"/>)</span>
</span>
<span>
<span class="o_chat_window_buttons">
<a href="#" class="o_chat_window_close fa fa-close"/>
</span>
</t>