Skip to content

Commit

Permalink
fix(password-input): apply layout size class
Browse files Browse the repository at this point in the history
  • Loading branch information
janhassel committed Sep 8, 2023
1 parent 8049fe3 commit 33c5bd8
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 33c5bd8

Please sign in to comment.