[FIX] im_livechat: avatar size in operator kanban view
This rev. improves the layout of the inner kanban view for operators in livechat channels, mainly by setting a max-width on their avatar (with classname 'o_kanban_image'). The motivation of this commit comes from a feedback following an internal migration.
This commit is contained in:
@@ -106,10 +106,11 @@
|
||||
<templates>
|
||||
<t t-name="kanban-box">
|
||||
<div>
|
||||
<a t-if="! read_only_mode" type="delete" style="position: absolute; right: 0; padding: 4px; diplay: inline-block">X</a>
|
||||
<div class="oe_group_details" style="min-height: 40px">
|
||||
<img t-att-src="kanban_image('res.users', 'image', record.id.raw_value)"
|
||||
class="oe_avatar oe_kanban_avatar_smallbox" style="float:left; margin-right: 10px;"/>
|
||||
<a t-if="!read_only_mode" type="delete" class="fa fa-times pull-right"/>
|
||||
<div class="o_kanban_image">
|
||||
<img t-att-src="kanban_image('res.users', 'image', record.id.raw_value)"/>
|
||||
</div>
|
||||
<div class="o_kanban_details">
|
||||
<h4 class="o_kanban_record_title"><field name="name"/></h4>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user