odoo/odoo#196501

Created by fw-bot
Merged at 07a0011e7ffbdc3dbd1ab205fff0ef52df0a3f47

Statuses:

label
odoo-dev:saas-17.2-16.0-FIX-spreadsheet_dashboard-413802-fw
head
b20a028e40035107f62904d32354f78c29b5d080
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

[FW][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

Forward-Port-Of: #196364
Forward-Port-Of: #181335