odoo/odoo#181335

Created by CarlosRoca13
Merged at e4da068d6c9c8885dd4663d50dee11c9ea1516a3

Statuses:

label
Tecnativa:16.0-FIX-spreadsheet_dashboard
head
5df4be31a63938f76c52d1323421dcc4d8d45a7f
merged
8 months ago by BI, Lucas Lefèvre (lul)
odoo/odoo
16.0 #181335
17.0 #196364
saas-17.2 #196501
saas-17.4 #196516
18.0 #196523
saas-18.1 #196563
saas-18.2
saas-18.3
saas-18.4
19.0
master #196629

[FIX] spreadsheet_dashboard: Graphs in Mobile view aren't showed correctly

When we display more than one chart in the mobile view, the height of the elements is being adjusted to fill 100%, which in some cases causes a size that makes it impossible to view the chart.

image

To solve this, we have added a div that will encompass the chart and set a minimum height as defined in the spreadsheets, ensuring that the elements are always displayed correctly.

image

cc @Tecnativa TT50972

ping @chienandalu @pedrobaeza


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr