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

Enforce maximum width on chart editor blocks in the docs #10447

Merged
merged 2 commits into from Jun 29, 2022

Conversation

igorlukanin
Copy link
Member

@igorlukanin igorlukanin commented Jun 28, 2022

Resolves #10416 (charts get overly large on high-resolution screens).

I've decided to enforce maximum width on .chart-editor (both chart preview and code editor) rather than .chart-view because source code in the code editor seems to not be very lengthy anyway—but it looks better when chart preview match code editor width.

Please see the preview on my 1800px-wide screen.

Before:
Screenshot 2022-06-28 at 23 29 59

After:
Screenshot 2022-06-28 at 23 20 55

@kurkle kurkle merged commit 88f9665 into chartjs:master Jun 29, 2022
@igorlukanin igorlukanin deleted the docs-limited-width-charts branch June 29, 2022 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docs: Gigantic chart examples on larger resolutions
4 participants