Skip to content

Commit

Permalink
fix: sx styling for Textfield component (#11246)
Browse files Browse the repository at this point in the history
* spread containerProps sx

* spread props.sx as well whoops
  • Loading branch information
coliu-akamai authored Nov 12, 2024
1 parent 04e3620 commit fe172fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/manager/src/components/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ export const TextField = (props: TextFieldProps) => {
display: 'flex',
flexWrap: 'wrap',
}),
...containerProps?.sx,
}}
>
<Box
Expand Down Expand Up @@ -369,6 +370,7 @@ export const TextField = (props: TextFieldProps) => {
...(Boolean(tooltipText) && {
width: '415px',
}),
...props.sx,
}}
className={className}
error={!!error || !!errorText}
Expand Down

0 comments on commit fe172fa

Please sign in to comment.