Skip to content

Commit

Permalink
Update style
Browse files Browse the repository at this point in the history
- Update style of MultiInput...RangeField Root and Seperator
  • Loading branch information
good-jinu committed Dec 22, 2024
1 parent 0458ca5 commit 326b7c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const useUtilityClasses = (classes: Partial<MultiInputRangeFieldClasses> | undef

const MultiInputDateRangeFieldRoot = 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="start" {...props} />
)),
{
name: 'MuiMultiInputDateRangeField',
Expand All @@ -59,6 +59,7 @@ const MultiInputDateRangeFieldSeparator = styled(Typography, {
overridesResolver: (props, styles) => styles.separator,
})({
lineHeight: '1.4375em', // 23px
padding: '16.5px 0',
});

type MultiInputDateRangeFieldComponent = (<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const useUtilityClasses = (classes: Partial<MultiInputRangeFieldClasses> | undef

const MultiInputDateTimeRangeFieldRoot = 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="start" {...props} />
)),
{
name: 'MuiMultiInputDateTimeRangeField',
Expand All @@ -57,6 +57,7 @@ const MultiInputDateTimeRangeFieldSeparator = styled(Typography, {
overridesResolver: (props, styles) => styles.separator,
})({
lineHeight: '1.4375em', // 23px
padding: '16.5px 0',
});

type MultiInputDateTimeRangeFieldComponent = (<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const useUtilityClasses = (classes: Partial<MultiInputRangeFieldClasses> | undef

const MultiInputTimeRangeFieldRoot = 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="start" {...props} />
)),
{
name: 'MuiMultiInputTimeRangeField',
Expand All @@ -59,6 +59,7 @@ const MultiInputTimeRangeFieldSeparator = styled(Typography, {
overridesResolver: (props, styles) => styles.separator,
})({
lineHeight: '1.4375em', // 23px
padding: '16.5px 0',
});

type MultiInputTimeRangeFieldComponent = (<
Expand Down

0 comments on commit 326b7c3

Please sign in to comment.