fix: Fixed password peek alignment which wasnot correct in all places. (#4582)

pull/4584/head
Jeroen Reumkens 2022-09-18 22:23:48 +02:00 committed by GitHub
parent 22f6d8ab9b
commit 440f53714b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -264,12 +264,12 @@ export const PasswordField = forwardRef<HTMLInputElement, InputFieldProps>(funct
placeholder="•••••••••••••"
ref={ref}
{...props}
className={classNames("pr-10", props.className)}
className={classNames("mb-0 pr-10", props.className)}
/>
<Tooltip content={textLabel}>
<button
className="absolute bottom-2 right-3 h-9 text-gray-900"
className="absolute bottom-0 right-3 h-9 text-gray-900"
type="button"
onClick={() => toggleIsPasswordVisible()}>
{isPasswordVisible ? (