From 876b77af2c286b2009ba44c776183e94089ff265 Mon Sep 17 00:00:00 2001 From: jvm-odoo Date: Tue, 28 Jul 2020 06:51:00 +0000 Subject: [PATCH] [FIX] board: fix graphs height Issue - Install Projects, Dashboard - Project > All tasks > Graph view - Add to dashboard - Refresh & go to dashboard The graph is small and it's hard to read it Cause We have no min-height & chartJS computes a height which is too small Already fixed in previous versions with 9214d7815267d but now the class `o_graph_svg_container` seems to be used nowhere Solution Change the class name & adjust height a bit OPW-2303224 closes odoo/odoo#55218 X-original-commit: 80a46b9249bd6dada4d462cd7a11a406eb1ceba5 Signed-off-by: Nicolas Martinelli (nim) Signed-off-by: Jason Van Malder (jvm) --- addons/board/static/src/scss/dashboard.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/board/static/src/scss/dashboard.scss b/addons/board/static/src/scss/dashboard.scss index ceae24973fc..b11aa5ff6fb 100644 --- a/addons/board/static/src/scss/dashboard.scss +++ b/addons/board/static/src/scss/dashboard.scss @@ -123,8 +123,8 @@ } // Override height of graph. min-height doesn't do the trick - .o_graph_svg_container { - height: 250px; + .o_graph_controller canvas { + height: 300px; } // Override height for calendar view to be displayed properly