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

Unable to make ReactMuze's Canvas components take up the full width of its parent #5

Open
n0x3u5 opened this issue Oct 19, 2020 · 0 comments

Comments

@n0x3u5
Copy link

n0x3u5 commented Oct 19, 2020

Providing the width as a percentage directly to the Canvas components seems to ignore the '%' and render the Canvas in terms of 'px' - i.e. if one provides "100%", the canvases turn out being "100px" wide.

Conversely, not providing the width, makes them take a default width of ~"600px".

So as far as I can understand, there's no way to make the Canvases take up their parent's widths.

cc @ranajitbanerjee

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

No branches or pull requests

1 participant