ui5-webcomponents
ui5-webcomponents copied to clipboard
fix(ui5-monthpicker): switch to two column layout on Islamic or Persian secondary calendar type
Previously when secondaryCalendarType
was set to Islamic
or Persian
, the texts of the months' names didnt had enough space in the cell to be displayed on one row, which wasnt the desired behavior.
Now, when any of those two calendar types is set as a secondaryCalendarType
, when the end user is in month view of the calendar, the months are displayed in two column layout, instead of three, providing enough space for the texts to be displayed in one row.
Tested in both Cozy/Compact modes in following scenarios:
Primary/SecondaryCalendarType:
- Gregorian/Buddhist
- Gregorian/Islamic
- Gregorian/Japanese
- Gregorian/Persian
- Buddhist/Gregorian
- Buddhist/Islamic
- Buddhist/Japanese
- Buddhist/Persian
- Islamic/Gregorian
- Islamic/Buddhist
- Islamic/Japanese
- Islamic/Persian
- Japanese/Gregorian
- Japanese/Buddhist
- Japanese/Islamic
- Japanese/Persian
- Persian/Gregorian
- Persian/Buddhist
- Persian/Islamic
- Persian/Japanese
Before
After
Fixes: #7712