feat: font size to text panel

This commit is contained in:
Maze Winther
2025-07-10 21:37:44 +02:00
parent 0acead5bb1
commit eadd6940e4
2 changed files with 32 additions and 9 deletions
+2 -9
View File
@@ -11,14 +11,7 @@ interface InputProps extends React.ComponentProps<"input"> {
const Input = React.forwardRef<HTMLInputElement, InputProps>(
(
{
className,
type,
showPassword,
onShowPasswordChange,
value,
...props
},
{ className, type, showPassword, onShowPasswordChange, value, ...props },
ref
) => {
const isPassword = type === "password";
@@ -26,7 +19,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
const inputType = isPassword && showPassword ? "text" : type;
return (
<div className="relative w-full">
<div className={showPassword ? "relative w-full" : ""}>
<input
type={inputType}
className={cn(