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

inline mode (without dialog) #226

Open
biju001 opened this issue Oct 2, 2017 · 1 comment
Open

inline mode (without dialog) #226

biju001 opened this issue Oct 2, 2017 · 1 comment

Comments

@biju001
Copy link

biju001 commented Oct 2, 2017

hello,
i want to show this time/date picker always on body meaning i don't want to press anything for dialog, just be there always. possible ? please help us.

@aleek
Copy link

aleek commented Jan 19, 2018

No problem dude!

The only thing you need to do is to modify the scss - .mddtp-picker class in particular.
Remove:
position: fixed; top: 50%; left: 50%; transform: translate3d(-50%,-50%,0); transform-origin: 0 0;

It should be inline now :)
And of course remove the mddtp-picker--inactive class from the div.

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

2 participants