Skip to content
Snippets Groups Projects
Commit 62b692b6 authored by Romeo Fragomeli's avatar Romeo Fragomeli
Browse files

[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#106549

Signed-off-by: default avatarPierre Paridans (app) <app@odoo.com>
parent e7c22094
No related branches found
No related tags found
No related merge requests found
......@@ -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"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment