Closed NicoHof closed 3 weeks ago
Describe the bug Setting --dp-menu-min-width: 400px; works fine with regular date picker. Once I use it for month or year picker the overlay content is not stretched 100% width:
To Reproduce https://codesandbox.io/p/sandbox/vue3-datepicker-min-max-issue-forked-fwgl9k?file=%2Fsrc%2FApp.vue%3A5%2C40
Expected behavior The content of the overlay should also stretch 100% of available width
Screenshots Month picker:
Date picker in month view works fine:
Desktop & mobile (please complete the following information):
Describe the bug Setting --dp-menu-min-width: 400px; works fine with regular date picker. Once I use it for month or year picker the overlay content is not stretched 100% width:
To Reproduce https://codesandbox.io/p/sandbox/vue3-datepicker-min-max-issue-forked-fwgl9k?file=%2Fsrc%2FApp.vue%3A5%2C40
Expected behavior The content of the overlay should also stretch 100% of available width
Screenshots Month picker:![Bildschirmfoto vom 2024-07-29 22-15-53](https://github.com/user-attachments/assets/c63506a7-1b0b-41f9-899f-c8ecdc3b0c1a)
Date picker in month view works fine:![Bildschirmfoto vom 2024-07-29 22-16-21](https://github.com/user-attachments/assets/e291dbc4-4ff0-4af0-a6fb-7aef8829210a)
Desktop & mobile (please complete the following information):