From e1865b3d3818e767b5290df24af481b9e49cfc03 Mon Sep 17 00:00:00 2001 From: Kartik Chavda Date: Fri, 3 Mar 2023 08:49:57 +0000 Subject: [PATCH] [IMP] web: fix measure button height issue MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit `Measure` button in pivot and graph view was small compare to other buttons in control panel because flex class on left button control panel and pivot/graph view has two button groups in their left button control panel and flex class is only applied on first button group. This commit add style for pivot & graph view to display then in block to fix that issue in stable and we will move those two button group in single div in master to apply flex class on both button groups. task-3187910 closes odoo/odoo#118379 X-original-commit: 6a185985867b9138378fb476ab93fd18f60357e8 Signed-off-by: Adrien Dieudonné (adr) --- addons/web/static/src/views/graph/graph_view.scss | 6 ++++++ addons/web/static/src/views/pivot/pivot_view.scss | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/addons/web/static/src/views/graph/graph_view.scss b/addons/web/static/src/views/graph/graph_view.scss index 32711fb1675..007585c03ef 100644 --- a/addons/web/static/src/views/graph/graph_view.scss +++ b/addons/web/static/src/views/graph/graph_view.scss @@ -3,6 +3,12 @@ background-color: $o-view-background-color; } +.o_graph_view { + .o_cp_bottom_left { + display: block; + } +} + // ------- Sample mode ------- .o_graph_view .o_view_sample_data { .o_graph_renderer { diff --git a/addons/web/static/src/views/pivot/pivot_view.scss b/addons/web/static/src/views/pivot/pivot_view.scss index 6cff10dae84..ffe7a54d024 100644 --- a/addons/web/static/src/views/pivot/pivot_view.scss +++ b/addons/web/static/src/views/pivot/pivot_view.scss @@ -24,6 +24,12 @@ } } +.o_pivot_view { + .o_cp_bottom_left { + display: block; + } +} + // ------- Sample mode ------- .o_pivot_view .o_view_sample_data { table {