设置input字体大小

This commit is contained in:
al 2024-11-14 18:32:57 +08:00
parent 75bc050fa1
commit 31317ece32
1 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@ export default function OwnInput({
maxLength={11}
onChange={(e) => onChange(e.target?.value)}
value={value}
className={`w-full placeholder:text-[#FFFFFF80] ${inputClassName}`}
style={{ fontSize: `16px!important` }}
className={`w-full placeholder:text-[#FFFFFF80] text-[16px] focus:text-[16px] ${inputClassName}`}
// style={{ fontSize: `16px!important` }}
/>
{clearable && value != "" && (
<div className="w-4 h-4 absolute right-2 top-[2px] flex justify-center items-center bg-[#ffffff33] p-1 rounded-full">