Skip to content

Commit

Permalink
Update amount field styles
Browse files Browse the repository at this point in the history
  • Loading branch information
carina-akaia committed Sep 21, 2024
1 parent 29b19ce commit 59c8c57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/ui/form-fields/text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export type TextFieldProps = Omit<

classNames?: {
root?: string;
inputWrapper?: string;
fieldRoot?: string;
input?: string;
};
};
Expand Down Expand Up @@ -128,7 +128,7 @@ export const TextField = forwardRef<HTMLInputElement, TextFieldProps>(
"file:border-0 file:bg-transparent file:text-sm file:font-medium",
"disabled:cursor-not-allowed disabled:opacity-50",
{ "pr-3": appendixElement !== null },
classNames?.inputWrapper,
classNames?.fieldRoot,
)}
>
{inputExtensionElement}
Expand Down
1 change: 1 addition & 0 deletions src/modules/donation/components/DonationPotAllocation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ export const DonationPotAllocation: React.FC<DonationPotAllocationProps> = ({
? null
: DONATION_INSUFFICIENT_BALANCE_ERROR
}
classNames={{ fieldRoot: "w-32" }}
/>
)}
/>
Expand Down

0 comments on commit 59c8c57

Please sign in to comment.