[FIX] sales_team: fix team pipeline kanban overflows
In the kanban views, cards have a fixed size (here it is overriden as 450px). All internal elements use col-x Bootstrap classes, with have flex 0 0 x/12. Note that 0 0 correspond to flex-grow and flex-shrink, so the sizes are fixed. It follows that any long translation or number will overflow badly. Hover this overflow is, in terms of usability, less worse hiding the overflow or even scrollbars. So nothing is flexy, but too avoid this issue as much as possible, we give more space to the right side, since the left side only shows a button. opw 2001951 closes odoo/odoo#33818 Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
This commit is contained in:
@@ -25,10 +25,10 @@
|
||||
</div>
|
||||
<div class="container o_kanban_card_content">
|
||||
<div class="row o_kanban_card_upper_content">
|
||||
<div class="col-6 o_kanban_primary_left" name="to_replace_in_sale_crm">
|
||||
<div class="col-4 o_kanban_primary_left" name="to_replace_in_sale_crm">
|
||||
<button type="object" class="btn btn-primary" name="action_primary_channel_button"><field name="dashboard_button_name"/></button>
|
||||
</div>
|
||||
<div class="col-6 o_kanban_primary_right" style="padding-bottom:0;">
|
||||
<div class="col-8 o_kanban_primary_right" style="padding-bottom:0;">
|
||||
<t name="first_options"/>
|
||||
<t name="second_options"/>
|
||||
<t name="third_options"/>
|
||||
|
||||
Reference in New Issue
Block a user