Skip to content

Commit

Permalink
fix(natds-react): fix wrapper input.styles component added borderRadi…
Browse files Browse the repository at this point in the history
…us theme

affects: @naturacosmeticos/natds-react
DSY-5288
  • Loading branch information
vagnerbarbosant committed Dec 19, 2024
1 parent 3ad8ee2 commit abb7746
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/react/src/components/Input/Input.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const styles = createUseStyles((theme: Theme) => ({
content: '""',
height: '100%',
left: 0,
borderRadius: theme.textField.borderRadius,
opacity: ({ readOnly }: InputStyleProps) => (readOnly ? theme.opacity.disabledLow : 0),
pointerEvents: 'none',
position: 'absolute',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ const styles = createUseStyles((theme: Theme) => ({
},
image: {
maxWidth: theme.size.large,
objectFit: 'cover'
objectFit: 'cover',
borderRadius: theme.textField.borderRadius,
borderBottomLeftRadius: 0,
borderTopLeftRadius: 0
}
}))

Expand Down

0 comments on commit abb7746

Please sign in to comment.