Skip to content

[DateRangePicker] Set display: block for PickersDay component style#21739

Open
michelengelen wants to merge 1 commit intomui:masterfrom
michelengelen:bugfix/21615-misaligned-days-in-picker
Open

[DateRangePicker] Set display: block for PickersDay component style#21739
michelengelen wants to merge 1 commit intomui:masterfrom
michelengelen:bugfix/21615-misaligned-days-in-picker

Conversation

@michelengelen
Copy link
Member

This prevents misalignment when the theme used by the user has a display definition in their typography.caption object.

Fixes #21615

Signed-off-by: michel <jsnerdic@gmail.com>
@michelengelen michelengelen self-assigned this Mar 13, 2026
@michelengelen michelengelen added type: bug It doesn't behave as expected. scope: pickers Changes related to the date/time pickers. needs cherry-pick The PR should be cherry-picked to master after merge. v8.x labels Mar 13, 2026
@mui-bot
Copy link

mui-bot commented Mar 13, 2026

Deploy preview: https://deploy-preview-21739--material-ui-x.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/x-data-grid 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-pro 0B(0.00%) 0B(0.00%)
@mui/x-data-grid-premium 0B(0.00%) 0B(0.00%)
@mui/x-charts 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)
@mui/x-charts-premium 0B(0.00%) 0B(0.00%)
@mui/x-date-pickers 🔺+16B(+0.01%) 🔺+8B(+0.01%)
@mui/x-date-pickers-pro 🔺+16B(+0.01%) 🔺+7B(+0.01%)
@mui/x-tree-view 0B(0.00%) 0B(0.00%)
@mui/x-tree-view-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 7167a58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs cherry-pick The PR should be cherry-picked to master after merge. scope: pickers Changes related to the date/time pickers. type: bug It doesn't behave as expected. v8.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[question] MuiDateRangePickerDay-day applying display inline which causes the date columns to be misaligned

2 participants