Skip to content

Commit

Permalink
add password dot style
Browse files Browse the repository at this point in the history
  • Loading branch information
koji committed May 6, 2024
1 parent 065d860 commit 71d153b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/src/atoms/InputField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export interface InputFieldProps {
/** blur handler */
onBlur?: (event: React.FocusEvent<HTMLInputElement>) => unknown
/** makes input field read-only */
readOnly?: boolean | undefined
readOnly?: boolean
/** html tabindex property */
tabIndex?: number
/** automatically focus field on renders */
Expand Down Expand Up @@ -197,6 +197,11 @@ function Input(props: InputFieldProps): JSX.Element {
? TYPOGRAPHY.lineHeight36
: TYPOGRAPHY.lineHeight48};
}
/* the size of dot for password is handled by font-size */
input[type='password'] {
font-size: ${size === 'small' ? '56px' : '62px'};
}
}
`

Expand Down

0 comments on commit 71d153b

Please sign in to comment.