fix: Fixed password peek alignment which wasnot correct in all places. (#4582)
parent
22f6d8ab9b
commit
440f53714b
|
@ -264,12 +264,12 @@ export const PasswordField = forwardRef<HTMLInputElement, InputFieldProps>(funct
|
||||||
placeholder="•••••••••••••"
|
placeholder="•••••••••••••"
|
||||||
ref={ref}
|
ref={ref}
|
||||||
{...props}
|
{...props}
|
||||||
className={classNames("pr-10", props.className)}
|
className={classNames("mb-0 pr-10", props.className)}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Tooltip content={textLabel}>
|
<Tooltip content={textLabel}>
|
||||||
<button
|
<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"
|
type="button"
|
||||||
onClick={() => toggleIsPasswordVisible()}>
|
onClick={() => toggleIsPasswordVisible()}>
|
||||||
{isPasswordVisible ? (
|
{isPasswordVisible ? (
|
||||||
|
|
Loading…
Reference in New Issue