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

Try to fit reference example canvas sizes better #476

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

davepagurek
Copy link
Collaborator

Resolves #435

This isn't a super robust solution, but now instead of hardcoding 100x100, it grabs the size from the code, and adds arbitrary space on the bottom if any DOM elements are created in the code, as those are placed below the canvas by default.

image

@Qianqianye Qianqianye merged commit 1547249 into main Jul 31, 2024
4 checks passed
@Qianqianye Qianqianye deleted the fix/reference-scroll branch July 31, 2024 20:43
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.

createColorPicker example creates it OUSIDE the canvas
2 participants