[FIX] web: kanban: quick create column text wrapped
In kanban view, the columns are in a flex container and as there is no specific flex rules on the quick create column and is shrink by default. So when the new column is above the edge of the viewport, it starts to shrink. To avoid this bug we have added the same flex rules has the kanban column. Steps to reproduce: * Open Note * Create many new column => BUG text wrapped when the new column reach the width of the viewport. closes odoo/odoo#106683 X-original-commit: 62b692b6edd7d57ef14c02ecd5b731c8ba664b98 Signed-off-by: Pierre Paridans (app) <app@odoo.com> Signed-off-by: Romeo Fragomeli (rfr) <rfr@odoo.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<templates xml:space="preserve">
|
||||
|
||||
<t t-name="web.KanbanColumnQuickCreate" owl="1">
|
||||
<div class="o_column_quick_create" t-ref="root">
|
||||
<div class="o_column_quick_create flex-shrink-0 flex-grow-1 flex-md-grow-0" t-ref="root">
|
||||
<div t-if="props.folded" class="o_quick_create_folded m-3 text-nowrap fw-bold opacity-75 opacity-100-hover" t-on-click="unfold">
|
||||
<button class="o_kanban_add_column btn btn-outline-secondary w-100">
|
||||
<i class="fa fa-plus me-2" role="img" aria-label="Add column" title="Add column"/><t t-out="props.groupByFieldString"/>
|
||||
|
||||
Reference in New Issue
Block a user