콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
7035 화면

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.

관련 게시물 답글 화면 활동
1
1월 17
8273
1
1월 25
2087
0
1월 25
1355
1
9월 22
1322
0
8월 22
2862