langue
deploy / deploy (push) Successful in 31s

This commit is contained in:
Romain committed 2026-10-04 16:37:27 +02:00
1 parent 4e270e616a
commit c82b7894a5
51 files changed
+7374 -104

No files matched your search

+2 -2
View File
@@ -12,7 +12,7 @@ function PasswordField({ value, onChange, placeholder, autoComplete }: { value:
return (
<div className="relative">
<input
className="field pr-11"
className="field pe-11"
type={show ? 'text' : 'password'}
value={value}
onChange={(e) => onChange(e.target.value)}
@@ -22,7 +22,7 @@ function PasswordField({ value, onChange, placeholder, autoComplete }: { value:
maxLength={72}
required
/>
<button type="button" onClick={() => setShow((v) => !v)} className="absolute right-3 top-1/2 -translate-y-1/2 text-ink-3" aria-label={show ? t('auth.hidePassword') : t('auth.showPassword')}>
<button type="button" onClick={() => setShow((v) => !v)} className="absolute end-3 top-1/2 -translate-y-1/2 text-ink-3" aria-label={show ? t('auth.hidePassword') : t('auth.showPassword')}>
{show ? <EyeOff size={17} /> : <Eye size={17} />}
</button>
</div>