Skip to content

Calendar.js has div wrapper that custom styles cannot be passed to #65

Open
@Zazzzles

Description

@Zazzzles

Hi there, thanks for the lib!

If i understand correctly the calendar will size to fit it's parent on render, I'm not sure how this is possible though since the in Calendar.js we are wrapping the contents of the calendar in a div that can't be styled.

Perhaps giving that container a 100% height and width would help with the scaling? I think this is the reason I am running into issues with the calendar being pretty small and not sizing to fit the parent.

Currently I have to target my custom calendar container and do a > selector to target that specific div in order to size the calendar appropriately.

If this is valid, Im more than happy to create a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions