Skip to content

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

Description

@n0x3u5

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions