From 62a44f1f196a79f17c65079e38c8a9bc026da5ce Mon Sep 17 00:00:00 2001 From: Driss Chelouati Date: Tue, 19 Dec 2023 23:45:24 +0100 Subject: [PATCH] fix(BaseTextarea): update textarea styles to include cursor styles for enabled state --- src/plugins/components/textarea/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/components/textarea/index.ts b/src/plugins/components/textarea/index.ts index b15c86c..08e5b32 100644 --- a/src/plugins/components/textarea/index.ts +++ b/src/plugins/components/textarea/index.ts @@ -39,7 +39,8 @@ export default plugin.withOptions( }, //Textarea [`.${prefix}textarea`]: { - [`@apply ${prefix}focus w-${config.textarea.width}`]: {}, + [`@apply ${prefix}focus w-${config.textarea.width} enabled:cursor-default cursor-not-allowed`]: + {}, //Focus:label:float [`&:focus-visible ~ .${prefix}label-float`]: { [`@apply !text-${config.label.float.font.color} dark:!text-${config.label.float.font.color}`]: