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

Reduce default chart size to 80% of available screen #310

Merged

Conversation

tom-writes-code
Copy link

@tom-writes-code tom-writes-code commented Dec 20, 2024

Reduce chart size to be 80% of the available height or width, whichever is smaller.

At the moment, the charts are generated to the maximum available width, which is a poor experience on desktops. This will limit the size to be the maximum of 80% of the height / width (whichever is smaller).

For example:
image

Tom Sharp added 2 commits December 20, 2024 15:57
Reduce chart size to be 80% of the available height or width, whichever is smaller
@worksofliam worksofliam self-requested a review January 7, 2025 13:58
@worksofliam
Copy link
Contributor

Looks like this change is working good. Thanks so much for your work here. I'm about to take a look at your other PR as well.

@worksofliam worksofliam merged commit 82e13c0 into codefori:main Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants