made amount to align right
This commit was merged in pull request #460.
This commit is contained in:
@@ -89,14 +89,14 @@ function FamilyAddFundPopout({action, situation, wallet, familyData}) {
|
|||||||
{/* AMOUNT */}
|
{/* AMOUNT */}
|
||||||
<div className="field w-full mb-[0.5rem]">
|
<div className="field w-full mb-[0.5rem]">
|
||||||
<InputCom
|
<InputCom
|
||||||
placeholder="Amount"
|
placeholder="0"
|
||||||
label="Amount:"
|
label="Amount:"
|
||||||
name="amount"
|
name="amount"
|
||||||
type="text"
|
type="text"
|
||||||
parentClass="flex items-center gap-1 w-full"
|
parentClass="flex items-center gap-1 w-full"
|
||||||
labelClass="flex-[0.2] mb-0"
|
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' : ''}`}
|
inputClass={`flex-[0.8] input-curve lg border border-[#dce4e9] ${props.errors.amount && props.touched.amount ? 'border border-red-500' : ''}`}
|
||||||
fieldClass="px-2"
|
fieldClass="px-2 text-right"
|
||||||
value={props.values.amount}
|
value={props.values.amount}
|
||||||
inputHandler={props.handleChange}
|
inputHandler={props.handleChange}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user