Skip to content

Commit

Permalink
border width and radius changes for the form elements
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdjohnson committed Jun 20, 2024
1 parent cbfe7ca commit 0a6ca5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/form/FormInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const FormInput = forwardRef((inputProps: FormInputProps) => {
classNames={{
label: isInvalid ? '!text-error' : '!text-base-content/45',
inputWrapper:
'!bg-base-transparent border-base-content/30' +
'!bg-base-transparent border rounded-md border-base-content/30' +
(isInvalid ? ' !border-error' : '') +
(isDisabled ? ' opacity-30 hover:!border-base-content/30' : ''),
}}
Expand Down
2 changes: 1 addition & 1 deletion src/components/form/FormTextarea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const FormTextarea = forwardRef((textareaProps: FormTextareaProps) => {
classNames={{
label: isInvalid ? '!text-error' : '!text-base-content/45',
inputWrapper:
'!bg-base-transparent border-base-content/30' +
'!bg-base-transparent border rounded-md border-base-content/30' +
(isInvalid ? ' !border-error' : '') +
(isDisabled ? ' opacity-30 hover:!border-base-content/30' : ''),
}}
Expand Down

0 comments on commit 0a6ca5b

Please sign in to comment.