Hi everyone,
Maybe it is a simple question, but can't find anything on the web.
How can I change the dimensions of Kanban cards?
I want to make them bigger.
by adding
style="width: 1500px; height: 700px;"
I managed to change the height of the kanban card in following code, but the width is not changing :
<kanban class="oe_background_grey o_kanban_dashboard o_stock_kanban" create="0">
<field name="color"/>
<field name="name"/>
<field name="image_small"/>
<templates>
<t t-name="kanban-box">
<div t-attf-class="#{kanban_color(record.color.raw_value)}" style="width: 1500px; height: 700px;">
<div class="o_kanban_card_header">
<div class="o_kanban_card_header_title">
<div class="o_primary">
<field name="name"/>
</div>
</div>
</div>
<div class="o_kanban_image" >
<t t-if="record.image_small.raw_value">
<img t-att-src="kanban_image('res.partner', 'image_small', record.id.value)"/>
</t>
</div>
</div>
</t>
</templates>
</kanban>
Any idea what is the trick? Should I modify/add some css somewhere??
Cheers
AD
CSSs should be there addons\web_kanban\static\src\less
Try to change 'flex' parameter.