[FIX] web: fix o_x2m_control_panel's bottom margin

This commit sets the bottom margin of `.o_x2m_control_panel` at the
positive amount of the negative top margin of `.o_list_renderer` so
that the `.o_cp_pager` buttons are not cropped

task-3422214
part of task-3326263

closes odoo/odoo#129128

X-original-commit: 0e40d65382c37ad594aae351435f5bea14903cd6
Signed-off-by: Pierre Paridans (app) <app@odoo.com>
This commit is contained in:
Antoine (anso)
2023-07-20 14:23:20 +02:00
parent c91346f889
commit b9e1de0030
@@ -3,7 +3,7 @@
<t t-name="web.X2ManyField" owl="1">
<div t-att-class="className">
<div class="o_x2m_control_panel d-empty-none mb-2">
<div class="o_x2m_control_panel d-empty-none mb-4">
<t t-if="displayControlPanelButtons">
<div class="o_cp_buttons" role="toolbar" aria-label="Control panel buttons" t-ref="buttons">
<t t-foreach="creates" t-as="create" t-key="create_index">