File tree Expand file tree Collapse file tree
apps/dashboard/src/app/(main)/(protected)/projects/[projectId]/users/[userId] Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,8 +124,10 @@ function EditableInput({
124124 placeholder = { placeholder }
125125 tabIndex = { readOnly ? - 1 : undefined }
126126 className = { cn (
127- "w-full px-1 py-0 h-[unset] border-transparent hover:ring-1 hover:ring-gray-300 dark:hover:ring-gray-500 focus-visible:ring-gray-500 dark:focus-visible:ring-gray-50" ,
128- readOnly && "focus-visible:ring-0 hover:ring-0" ,
127+ "w-full px-1 py-0 h-[unset] border-transparent" ,
128+ /* Hover */ ! readOnly && "hover:ring-1 hover:ring-slate-300 dark:hover:ring-slate-500 hover:bg-slate-100 dark:hover:bg-slate-800 hover:cursor-pointer" ,
129+ /* Focus */ ! readOnly && "focus:cursor-[unset] focus-visible:ring-slate-500 dark:focus-visible:ring-slate-50 focus-visible:bg-slate-100 dark:focus-visible:bg-slate-800" ,
130+ readOnly && "focus-visible:ring-0 cursor-default" ,
129131 shiftTextToLeft && "ml-[-7px]" ,
130132 inputClassName ,
131133 ) }
You can’t perform that action at this time.
0 commit comments