Skip to content

Commit

Permalink
fix(password-input): apply layout size class (carbon-design-system#14603
Browse files Browse the repository at this point in the history
)
  • Loading branch information
janhassel authored and misiekhardcore committed Sep 18, 2023
1 parent d47bea9 commit 2a07280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react/src/components/TextInput/PasswordInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ const PasswordInput = React.forwardRef(function PasswordInput(
[`${prefix}--text-input--light`]: light,
[`${prefix}--text-input--invalid`]: normalizedProps.invalid,
[`${prefix}--text-input--warning`]: normalizedProps.warn,
[`${prefix}--text-input--${size}`]: size,
[`${prefix}--text-input--${size}`]: size, // TODO: V12 - Remove this class
[`${prefix}--layout--size-${size}`]: size,
}
);
const sharedTextInputProps = {
Expand Down

0 comments on commit 2a07280

Please sign in to comment.