made amount to align right

This commit was merged in pull request #460.
This commit is contained in:
victorAnumudu
2023-10-25 19:37:36 +01:00
parent fcb154ba49
commit 24b9a0e348
@@ -89,14 +89,14 @@ function FamilyAddFundPopout({action, situation, wallet, familyData}) {
{/* AMOUNT */}
<div className="field w-full mb-[0.5rem]">
<InputCom
placeholder="Amount"
placeholder="0"
label="Amount:"
name="amount"
type="text"
parentClass="flex items-center gap-1 w-full"
labelClass="flex-[0.2] mb-0"
inputClass={`flex-[0.8] input-curve lg border border-[#dce4e9] text-right ${props.errors.amount && props.touched.amount ? 'border border-red-500' : ''}`}
fieldClass="px-2"
inputClass={`flex-[0.8] input-curve lg border border-[#dce4e9] ${props.errors.amount && props.touched.amount ? 'border border-red-500' : ''}`}
fieldClass="px-2 text-right"
value={props.values.amount}
inputHandler={props.handleChange}
/>