Skip to content

Commit

Permalink
style: fix border adding width issue
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Mar 30, 2024
1 parent 4748973 commit 6ea6bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/contrast/ColorPickerInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const ColorPickerInput = ({ id, label, color, onChange }: ColorPickerProps) => {
{label} HEX
</label>
<input
className='mr-2 h-10 w-[100%] appearance-none rounded-md border-gray-300 p-2 invalid:text-red-500 hover:border-2 hover:border-blue-600 dark:invalid:text-red-200 dark:hover:border-blue-300'
className='mr-2 h-10 w-[100%] appearance-none rounded-md border-2 border-transparent p-2 invalid:text-red-500 hover:border-2 hover:border-blue-600 dark:invalid:text-red-200 dark:hover:border-blue-300'
style={{ backgroundColor: 'transparent' }}
id={textInputId}
type='text'
Expand Down

0 comments on commit 6ea6bbb

Please sign in to comment.