summaryrefslogtreecommitdiff
path: root/apps/web/src/components/ui/input.tsx
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2025-06-24 10:32:19 +0200
committerMaze Winther <mazewinther@gmail.com>2025-06-24 10:32:19 +0200
commitb9e1dcf23e29e0adb08119b92f91e81db23ebb26 (patch)
tree4b53ec92ac671f3392cf7671d6390ab88a627617 /apps/web/src/components/ui/input.tsx
parent75ee0fb637cc4a89d2106a315412d4d6ae2ce0ae (diff)
downloadopencut-b9e1dcf23e29e0adb08119b92f91e81db23ebb26.tar.gz
refactor: change button variant from 'ghost' to 'text' across multiple components for consistency
Diffstat (limited to 'apps/web/src/components/ui/input.tsx')
-rw-r--r--apps/web/src/components/ui/input.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/ui/input.tsx b/apps/web/src/components/ui/input.tsx
index 42f4c452..72314045 100644
--- a/apps/web/src/components/ui/input.tsx
+++ b/apps/web/src/components/ui/input.tsx
@@ -41,7 +41,7 @@ const Input = React.forwardRef<HTMLInputElement, InputProps>(
{showPasswordToggle && (
<Button
type="button"
- variant="ghost"
+ variant="text"
size="icon"
onClick={() => onShowPasswordChange?.(!showPassword)}
className="absolute right-0 top-0 h-full px-3 text-muted-foreground hover:text-foreground"