Skip to content

Commit

Permalink
🐛 修复多行输入框透明bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Littlefean committed Jan 4, 2025
1 parent a2aeb92 commit 7b1ad09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ui/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export default function Input<T extends boolean = false>({
<Box
as={multiline ? "textarea" : "input"}
className={cn(
"px-3 py-2 outline-none hover:opacity-80",
enableFocusOpacity && "focus:opacity-80",
"px-3 py-2 outline-none",
enableFocusOpacity && "hover:opacity-80 focus:opacity-80",
className,
)}
value={value}
Expand Down

0 comments on commit 7b1ad09

Please sign in to comment.