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

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

Open
Zazzzles opened this issue Apr 30, 2021 · 0 comments
Open

Comments

@Zazzzles
Copy link

Zazzzles commented Apr 30, 2021

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

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