From f66eaebc70d88b9eebf5c63f5b69eb622a45a1c0 Mon Sep 17 00:00:00 2001 From: "Julien Carion (juca)" Date: Tue, 19 Mar 2024 15:06:36 +0100 Subject: [PATCH] [IMP] web: pivot: keep horizontal scrollbar inside viewport This commit simply removes the table-responsive class from the pivot view in desktop mode so that its eventual horizontal scrollbar will remain inside the viewport instead of being positioned at the very bottom of the page. Also hides the scrollbar in sample data mode so that the user cannot scroll horizontally in this case which introduces weird display. closes odoo/odoo#158083 Signed-off-by: Romeo Fragomeli (rfr) --- addons/web/static/src/views/pivot/pivot_renderer.xml | 2 +- addons/web/static/src/views/pivot/pivot_view.scss | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/web/static/src/views/pivot/pivot_renderer.xml b/addons/web/static/src/views/pivot/pivot_renderer.xml index d46f787369c..3bcc1de5d35 100644 --- a/addons/web/static/src/views/pivot/pivot_renderer.xml +++ b/addons/web/static/src/views/pivot/pivot_renderer.xml @@ -3,7 +3,7 @@ -
+