Skip to content

Commit

Permalink
Set uniform background color
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke committed Oct 28, 2024
1 parent 5e45d6b commit 502ff12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/forms/component/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface Props extends ComponentPropsWithoutRef<"input"> {
export const Input = forwardRef<HTMLInputElement, Props>(
({ id, label, error, ...rest }, ref) => {
const inputClasses = clsx(
"block w-full rounded-lg focus:outline-none shadow-sm sm:text-sm border py-2 px-3",
"block w-full rounded-lg focus:outline-none shadow-sm sm:text-sm border py-2 px-3 bg-white",
{
"border-red-300 focus:border-red-500 focus:ring-red-500": error,
"border-gray-300 focus:border-wsg-orange-500 focus:ring-wsg-orange-500":
Expand Down
2 changes: 1 addition & 1 deletion src/components/forms/component/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ interface Props extends ComponentPropsWithoutRef<"select"> {
export const Select = forwardRef<HTMLSelectElement, Props>(
({ id, label, error, children, ...rest }, ref) => {
const inputClasses = clsx(
"block w-full rounded-lg focus:outline-none shadow-sm sm:text-sm border py-2 px-3",
"block w-full rounded-lg focus:outline-none shadow-sm sm:text-sm border py-2 px-3 bg-white",
{
"border-red-300 focus:border-red-500 focus:ring-red-500": error,
"border-gray-300 focus:border-wsg-orange-500 focus:ring-wsg-orange-500":
Expand Down

0 comments on commit 502ff12

Please sign in to comment.