mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
The date field opened the browser's native date picker, which rendered by the browser and kept its intrinsic width on mobile. Replace it with the shadcn calendar in a popover: a fully app-controlled react-day-picker calendar that looks the same everywhere and never overflows a phone-width sheet. The field keeps its preference-formatted, typeable display and its yyyy-MM-dd value contract, so the date-time field, the time field and every form that uses them are unchanged. The calendar's month and weekday labels follow the UI language.