[FIX] web: pivot: apply table-reponsive

Otherwise the experience in mobile won't be nice.

closes odoo/odoo#76390

X-original-commit: 9e36d2eda46febda16118cd56d541b6c90501c53
Related: odoo/enterprise#20796
Signed-off-by: Mathieu Duckerts-Antoine <Polymorphe57@users.noreply.github.com>
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
This commit is contained in:
Lucas Perais (lpe)
2021-09-14 06:01:22 +00:00
parent f45f12d0bd
commit 9d0f1fd07e
@@ -2,7 +2,7 @@
<templates xml:space="preserve">
<t t-name="web.PivotRenderer" owl="1">
<div class="o_pivot">
<div class="o_pivot table-responsive">
<table class="table-hover table-sm table-bordered" t-att-class="{ o_enable_linking: !model.meta.disableLinking, o_sample_data_disabled: model.meta.useSampleModel }">
<thead>
<tr t-foreach="table.headers" t-as="row" t-key="'header_' + row_index">