summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-04-08 15:51:07 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2019-04-09 10:32:19 +0000
commitcdc150d0a3268e9759aa3a957c6e3f7ed5ad8b54 (patch)
tree1da00dddb78ceecce584d584716b4f5fb77c315d
parenta540f7864af5fd46cc30ea8c99b2f404cbf58dd7 (diff)
[FIX] board: fixed height for graph svg container
Commit 9214d7815267d6bdad954f7e94a4bf187cea35bc is a bit old and made huge white spaces between graphs Commit 89931d1749e35231cc054428e1c43801d5ef3ffa introduces a dedicated svg container, on which we can set a fixed height The 250 px comes from what is being done in the web_dashboard app with commit odoo/enterprise@1638e5d4818cd459279b6040a711e259156b6f4a OPW 1944857 closes odoo/odoo#32522 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
-rw-r--r--addons/board/static/src/scss/dashboard.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/board/static/src/scss/dashboard.scss b/addons/board/static/src/scss/dashboard.scss
index 08cd66a09c1..7bd942eb0e3 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 {
- height: 500px;
+ .o_graph_svg_container {
+ height: 250px;
}
}
}