mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-30 00:53:14 +00:00
fix: minor ui inconsistencies
This commit is contained in:
@@ -10,6 +10,7 @@ const Input = ({
|
||||
maxLength,
|
||||
className,
|
||||
colorVariant = 'silver',
|
||||
borderVariant = 'thick',
|
||||
children,
|
||||
onChange,
|
||||
onPaste,
|
||||
@@ -20,10 +21,13 @@ const Input = ({
|
||||
jet: 'border-jet',
|
||||
gray: 'border-gray-5000 dark:text-silver',
|
||||
};
|
||||
|
||||
const borderStyles = {
|
||||
thin: 'border',
|
||||
thick: 'border-2',
|
||||
};
|
||||
return (
|
||||
<input
|
||||
className={`h-[42px] w-full rounded-full border-2 px-3 outline-none dark:bg-transparent dark:text-white ${className} ${colorStyles[colorVariant]}`}
|
||||
className={`h-[42px] w-full rounded-full px-3 py-1 outline-none dark:bg-transparent dark:text-white ${className} ${colorStyles[colorVariant]} ${borderStyles[borderVariant]}`}
|
||||
type={type}
|
||||
id={id}
|
||||
name={name}
|
||||
|
||||
Reference in New Issue
Block a user