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

This commit is contained in:
Jeroen Reumkens
2022-09-18 20:23:48 +00:00
committed by GitHub
parent 22f6d8ab9b
commit 440f53714b
+2 -2
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 ? (