frappe / insights

Open source analytics / business intelligence tool (BI)
https://frappe.io/insights
GNU Affero General Public License v3.0
406 stars 199 forks source link

Number Cards - Labels hidden #177

Closed rtdany10 closed 11 months ago

rtdany10 commented 11 months ago

.overflow-hidden causes labels to be hidden on my screen

https://github.com/frappe/insights/assets/52111700/f98ff329-982e-4b3f-bf75-3d2614d86500

Resizing the number card did solve the issue, but still, we shouldn't be hiding the labels imo

nextchamp-saqib commented 11 months ago

I didn't find any other way to display the number card title in that small space. I had tried reducing the font size of the actual number but then it has to be a lot smaller than the current font size which doesn't look good.

Do you have any suggestions?

rtdany10 commented 11 months ago

I was tbh scratching my head cause I remember setting up the label but it was missing when the card was added to the dashboard. Then looking at the CSS, I understood it was the overflow attribute hiding it.

Maybe let it overflow? People can resize it always.

nextchamp-saqib commented 11 months ago

Done (ref. 134956d91af036cbae33b9b337a2e4ccee9ed89e)