diff options
| author | jvm-odoo <jvm@odoo.com> | 2020-07-28 06:51:00 +0000 |
|---|---|---|
| committer | jvm-odoo <jvm@odoo.com> | 2020-07-30 15:20:06 +0000 |
| commit | 876b77af2c286b2009ba44c776183e94089ff265 (patch) | |
| tree | 004a990dee1752529fa28ba8915ce97090d5065b | |
| parent | 0511a88f85d8ddda5b80a5f4fb103d3238fcceb0 (diff) | |
[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) <nim@odoo.com>
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
| -rw-r--r-- | addons/board/static/src/scss/dashboard.scss | 4 |
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 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 |
