Skip to content

Commit

Permalink
fix(BaseTextarea): update textarea styles to include cursor styles fo…
Browse files Browse the repository at this point in the history
…r enabled state
  • Loading branch information
driss-chelouati committed Dec 19, 2023
1 parent 7ef5ed6 commit 62a44f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/plugins/components/textarea/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`]:
Expand Down

0 comments on commit 62a44f1

Please sign in to comment.