File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/lib/forms/floating-label Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ export type FloatingLabelInputVaratiants = VariantProps<typeof floatingLabelInpu
7
7
export const floatingLabelInput = tv ( {
8
8
slots : {
9
9
base : "relative" ,
10
- input : "block w-full text-sm text-gray-900 bg-transparent appearance-none dark:text-white focus:outline-hidden focus:ring-0 peer" ,
10
+ input : "block w-full text-sm text-gray-900 bg-transparent appearance-none dark:text-white focus:outline-hidden focus:ring-0 peer disabled:cursor-not-allowed disabled:opacity-50 " ,
11
11
label : "absolute text-sm duration-300 transform scale-75 z-10 origin-left rtl:origin-right peer-placeholder-shown:scale-100 peer-focus:scale-75" ,
12
12
close : "absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 hover:text-black" ,
13
13
combo : "absolute top-full right-0 left-0 z-10 mt-1 max-h-60 overflow-y-auto rounded-md border border-gray-200 bg-white shadow-lg dark:border-gray-700 dark:bg-gray-800" ,
You can’t perform that action at this time.
0 commit comments