-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
[Bug]: Date picker does not show full month name and year #512
Comments
Workaround css: |
Hi, does this works well on multiple screen sizes? If this works well, we can make a pr for this.
In the code, the width is fixed as well and would be a good start to edit it. |
Even with my workaround it isn't perfect on the smallest phone sized screens. The data displays, but it isn't centered. I think the issue is that |
This seems to be caused by the dropdown input selects to inherit styling from the input fields styling, basically caused by the padding of the global input fields styling. Proposal to override styling for those fields on the Datepicker object @see CodePen: Materialize - Date picker full month name and year |
I tested that solution and agree it's better than my original workaround. Works on every screen size and looks great! |
Do you know if this bug will be fix? |
Before submitting...
Context
The date picker does not show the full month name and year.
Current Behavior
The space allocated for the month name and year are not sufficient
Expected behavior
I expect the complete month name and year to display
Possible Solutions or Causes
This might be as simple as modifying the .datepicker-controls css width properties for the month and year selects
Steps to reproduce
You can see this bug right on the Materialize website https://materializeweb.com/pickers.html . Just activate the example date picker.
Your Environment
The text was updated successfully, but these errors were encountered: