Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

gray out when disabled

Blue Mouse29de77b88820
diff --git a/web/app/ui/Input.tsx b/web/app/ui/Input.tsx
index 0a7834fad..66e811ba9 100644
--- a/web/app/ui/Input.tsx
+++ b/web/app/ui/Input.tsx
@@ -42,7 +42,7 @@ const Input = ({
{
'text-red-900 placeholder-red-300 ring-red-600': isError,
'ring-gray-300 dark:ring-slate-800/50': !isError,
- 'cursor-text': disabled,
+ 'cursor-not-allowed bg-gray-100 text-gray-500 dark:bg-slate-700 dark:text-gray-400': disabled,
'pr-10': isPassword,
},
classes?.input,
diff --git a/web/app/ui/Textarea.tsx b/web/app/ui/Textarea.tsx
index 1e4af6092..097bd5eb0 100644
--- a/web/app/ui/Textarea.tsx
+++ b/web/app/ui/Textarea.tsx
@@ -47,7 +47,7 @@ const Textarea = ({
{
'text-red-900 placeholder-red-300 ring-red-600': isError,
'ring-gray-300 dark:ring-slate-800/50': !isError,
- 'cursor-text': disabled,
+ 'cursor-not-allowed bg-gray-100 text-gray-500 dark:bg-slate-700 dark:text-gray-400': disabled,
},
classes?.textarea,
)}