Skip to content

Commit

Permalink
[DateRangePicker] Fix vertical alignment for multi input fields (#16489)
Browse files Browse the repository at this point in the history
  • Loading branch information
noraleonte authored Feb 6, 2025
1 parent 9b0db3f commit 7805988
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function createMultiInputRangeField<TManager extends PickerAnyRangeManage

const MultiInputRangeFieldRoot = styled(
React.forwardRef((props: StackProps, ref: React.Ref<HTMLDivElement>) => (
<Stack ref={ref} spacing={2} direction="row" alignItems="center" {...props} />
<Stack ref={ref} spacing={2} direction="row" alignItems="baseline" {...props} />
)),
{
name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ const PickersInputBaseSection = styled(PickersSectionListSection, {
fontSize: 'inherit',
letterSpacing: 'inherit',
lineHeight: '1.4375em', // 23px
display: 'flex',
display: 'inline-block',
whiteSpace: 'nowrap',
}));

const PickersInputBaseSectionContent = styled(PickersSectionListSectionContent, {
Expand Down

0 comments on commit 7805988

Please sign in to comment.