@@ -4,7 +4,7 @@ import type { VariantProps } from 'tailwind-variants';
4
4
5
5
export const textareaVariants = tv ( {
6
6
slots : {
7
- root : 'relative' ,
7
+ root : 'relative overflow-hidden ' ,
8
8
content : [
9
9
`flex w-full rounded-md border border-input bg-background` ,
10
10
`focus-visible:(outline-none ring-2 ring-offset-2 ring-offset-background ring-primary) disabled:(cursor-not-allowed opacity-50)`
@@ -14,27 +14,27 @@ export const textareaVariants = tv({
14
14
variants : {
15
15
size : {
16
16
xs : {
17
- content : 'px-1.5 py-0.75 text-xs' ,
17
+ content : 'px-1.5 py-0.75 text-xs min-h-6 ' ,
18
18
count : 'text-xs'
19
19
} ,
20
20
sm : {
21
- content : 'px-2 py-0.75 text-sm' ,
21
+ content : 'px-2 py-0.75 text-sm min-h-7 ' ,
22
22
count : 'text-sm'
23
23
} ,
24
24
md : {
25
- content : 'px-2.5 py-1.25 text-sm' ,
25
+ content : 'px-2.5 py-1.25 text-sm min-h-8 ' ,
26
26
count : 'text-sm'
27
27
} ,
28
28
lg : {
29
- content : 'px-3 py-1.25 text-base' ,
29
+ content : 'px-3 py-1.25 text-base min-h-9 ' ,
30
30
count : 'text-base'
31
31
} ,
32
32
xl : {
33
- content : 'px-3.5 py-1.75 text-base' ,
33
+ content : 'px-3.5 py-1.75 text-base min-h-10 ' ,
34
34
count : 'text-base'
35
35
} ,
36
36
xxl : {
37
- content : 'px-4 py-2.25 text-lg' ,
37
+ content : 'px-4 py-2.25 text-lg min-h-12 ' ,
38
38
count : 'text-lg'
39
39
}
40
40
} ,
0 commit comments