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

Allow Responsive Design #107

Closed
zdenda-online opened this issue Feb 5, 2021 · 3 comments
Closed

Allow Responsive Design #107

zdenda-online opened this issue Feb 5, 2021 · 3 comments

Comments

@zdenda-online
Copy link

Hello, the component is nice but the fact the button is fixed 300px limits the use for responsive design.
It would be fine to allow styling not only wrapping div but mainly the button. Or at least make button width 100% instead of fixed value and let parent (client) component to decide its width (e.g. by wrapping to div)

It is typical that mobile devices have width of input elements (buttons etc) on 100%.

@6eDesign
Copy link
Owner

6eDesign commented Feb 5, 2021

You can supply your own button to the component with whatever styling you'd like. There are examples of this in the demo but to summarize you just pass your button as a child/slot of the datepicker.

@zdenda-online
Copy link
Author

Oh I missed that, sorry my apologies.

@6eDesign
Copy link
Owner

No worries at all. Thank you

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