-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
DataForm uses DateCalendar private component which internally use react-day-picker.
Right now in Quick edit the design is not great (see screenshot below) because there is a min-width for the dialog and a smaller max-width for the calendar itself.
I've already tried a few things to expand it by adding some styles and a new month classname here but the problem is more convoluted because the internal library renders the months grid as a table element. It seems we can provide custom components though if we want to.
I'd expect the end design to be more like DateTimePicker which expands by default and uses a grid that handles well the alignment of navigation arrows for months, the days header (e.g M, T, etc..) and the days number.
--cc @WordPress/gutenberg-components