feature/mobile-responsive #59

Merged
rameen merged 3 commits from feature/mobile-responsive into master 2026-07-12 13:11:03 +03:30
Showing only changes of commit 3739d6ab38 - Show all commits

View File

@@ -38,6 +38,7 @@ export const Input = forwardRef<HTMLInputElement, InputProps>(
(passwordToggleLabels ? (
<button
type="button"
tabIndex={-1}
onClick={() => setShowPassword((visible) => !visible)}
className="rounded p-0.5 text-text-muted transition-colors hover:text-text-secondary"
aria-label={
@@ -76,12 +77,6 @@ export const Input = forwardRef<HTMLInputElement, InputProps>(
</div>
)}
{resolvedEndIcon && (
<div className="absolute inset-y-0 right-0 pr-3 flex items-center text-text-muted">
{resolvedEndIcon}
</div>
)}
<input
ref={ref}
id={inputId}
@@ -105,6 +100,12 @@ export const Input = forwardRef<HTMLInputElement, InputProps>(
`}
{...props}
/>
{resolvedEndIcon && (
<div className="absolute inset-y-0 right-0 pr-3 flex items-center text-text-muted">
{resolvedEndIcon}
</div>
)}
</div>
{error && (