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

Use table display to center the calendar instead of fixed position #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aagahi
Copy link

@aagahi aagahi commented Dec 9, 2016

Hi,
The calendar centred layout is based on fixed position - this work nicely as long as the document fit the entire screen. If the document is bigger than the display screen (try on a mobile phone for example) the fixed "top: 50%" won't work properly.
I've changed the display css of the calendar in order to use table/table-cell display. With table-cell display the calendar is perfectly centred.
This approach is based on vuejs modal example: https://vuejs.org/v2/examples/modal.html

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.

None yet

1 participant