Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different report types have different max widths (report tables don't use max available width) #18710

Open
tsteur opened this issue Jan 31, 2022 · 0 comments
Labels
c: Design / UI For issues that impact Matomo's user interface or the design overall.

Comments

@tsteur
Copy link
Member

tsteur commented Jan 31, 2022

This can be reproduced for example by using Custom Reports plugin and then putting an evolution graph report on a page and on the same page a table report.

image

The table report has a max width of 1200px configured.

You can also see this on the demo: Eg https://demo.matomo.cloud/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday#?idSite=1&period=day&date=yesterday&segment=&category=General_Actions&subcategory=General_Pages has a max width of 1200px vs other reports have a full width https://demo.matomo.cloud/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday#?idSite=1&period=day&date=yesterday&segment=&category=General_Visitors&subcategory=General_Overview

I assume we added a max width of 1200px to the table width because some reports might have only one column and then it be hard to see the label and the metric somewhat next to each other.

Sometimes it can be beneficial though to have the full width available and more consistency overall. Eg when the labels are long or when there are many metrics in a report.

Might be good to think about if we can make this more consistent

@tsteur tsteur added the c: Design / UI For issues that impact Matomo's user interface or the design overall. label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Design / UI For issues that impact Matomo's user interface or the design overall.
Projects
None yet
Development

No branches or pull requests

2 participants