set height and font size
This commit is contained in:
@@ -17,7 +17,7 @@ const ColorPicker: FC<Props> = (props: Props) => {
|
||||
const pickerOpenGuardRef = useRef(false)
|
||||
|
||||
const inputClass = clx(
|
||||
'w-full bg-white h-10 text-black block pl-10 pr-10 text-xs rounded-xl border border-border',
|
||||
'w-full bg-white h-[34px] text-black block pl-10 pr-10 text-xs rounded-xl border border-border',
|
||||
props.readOnly && 'bg-gray-100 border-0 text-description',
|
||||
props.className
|
||||
)
|
||||
@@ -55,7 +55,7 @@ const ColorPicker: FC<Props> = (props: Props) => {
|
||||
|
||||
return (
|
||||
<div className='w-full'>
|
||||
<label className='text-sm'>
|
||||
<label className='text-xs'>
|
||||
{props.label}
|
||||
</label>
|
||||
|
||||
@@ -83,7 +83,7 @@ const ColorPicker: FC<Props> = (props: Props) => {
|
||||
<span
|
||||
aria-hidden
|
||||
className={clx(
|
||||
'absolute top-0 bottom-0 my-auto left-1 flex items-center justify-center min-h-10 min-w-10 rounded-lg pointer-events-none',
|
||||
'absolute top-0 bottom-0 my-auto left-1 flex items-center justify-center min-h-[34px] min-w-[34px] rounded-lg pointer-events-none',
|
||||
props.readOnly && 'opacity-50'
|
||||
)}
|
||||
>
|
||||
@@ -97,7 +97,7 @@ const ColorPicker: FC<Props> = (props: Props) => {
|
||||
<span
|
||||
aria-hidden
|
||||
className={clx(
|
||||
'absolute top-0 bottom-0 my-auto right-1 flex items-center justify-center min-h-10 min-w-10 rounded-lg pointer-events-none',
|
||||
'absolute top-0 bottom-0 my-auto right-1 flex items-center justify-center min-h-[34px] min-w-[34px] rounded-lg pointer-events-none',
|
||||
props.readOnly && 'opacity-50'
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user