Skip to content

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

Merged
kurkle merged 2 commits intochartjs:masterfrom
igorlukanin:docs-limited-width-charts
Jun 29, 2022
Merged

Enforce maximum width on chart editor blocks in the docs#10447
kurkle merged 2 commits intochartjs:masterfrom
igorlukanin:docs-limited-width-charts

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

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

Comments