chore(trading): fix alignment of expire (#4477)
This commit is contained in:
parent
a74cf02030
commit
38edcd88c0
@ -488,19 +488,7 @@ export const StopOrder = ({ market, marketPrice, submit }: StopOrderProps) => {
|
|||||||
</InputError>
|
</InputError>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="flex gap-2 pb-2 justify-end">
|
<div className="flex gap-2 pb-2 justify-between">
|
||||||
<Checkbox
|
|
||||||
name="reduce-only"
|
|
||||||
checked={true}
|
|
||||||
disabled={true}
|
|
||||||
label={
|
|
||||||
<Tooltip description={<span>{t(REDUCE_ONLY_TOOLTIP)}</span>}>
|
|
||||||
<span className="text-xs">{t('Reduce only')}</span>
|
|
||||||
</Tooltip>
|
|
||||||
}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div className="mb-2">
|
|
||||||
<Controller
|
<Controller
|
||||||
name="expire"
|
name="expire"
|
||||||
control={control}
|
control={control}
|
||||||
@ -511,11 +499,21 @@ export const StopOrder = ({ market, marketPrice, submit }: StopOrderProps) => {
|
|||||||
onCheckedChange={onCheckedChange}
|
onCheckedChange={onCheckedChange}
|
||||||
checked={value}
|
checked={value}
|
||||||
name="expire"
|
name="expire"
|
||||||
label={'Expire'}
|
label={<span className="text-xs">{t('Expire')}</span>}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
<Checkbox
|
||||||
|
name="reduce-only"
|
||||||
|
checked={true}
|
||||||
|
disabled={true}
|
||||||
|
label={
|
||||||
|
<Tooltip description={<span>{t(REDUCE_ONLY_TOOLTIP)}</span>}>
|
||||||
|
<span className="text-xs">{t('Reduce only')}</span>
|
||||||
|
</Tooltip>
|
||||||
|
}
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
{expire && (
|
{expire && (
|
||||||
<>
|
<>
|
||||||
|
Loading…
Reference in New Issue
Block a user