Skip to content

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.

1 participant