market close styling
This commit is contained in:
parent
3f0b665753
commit
f551e6c469
|
@ -437,14 +437,14 @@ function EditableCloseDate(props: {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Modal
|
<Modal
|
||||||
size="sm"
|
size="md"
|
||||||
open={isEditingCloseTime}
|
open={isEditingCloseTime}
|
||||||
setOpen={setIsEditingCloseTime}
|
setOpen={setIsEditingCloseTime}
|
||||||
position="top"
|
position="top"
|
||||||
>
|
>
|
||||||
<Col className="rounded bg-white px-8 pb-8">
|
<Col className="rounded bg-white px-8 pb-8">
|
||||||
<Subtitle text="Edit Close Date" />
|
<Subtitle text="Edit market close time" />
|
||||||
<Row className="z-10 mr-2 w-full shrink-0 flex-wrap items-center gap-2">
|
<Row className="z-10 mr-2 mt-4 w-full shrink-0 flex-wrap items-center gap-2">
|
||||||
<input
|
<input
|
||||||
type="date"
|
type="date"
|
||||||
className="input input-bordered w-full shrink-0 sm:w-fit"
|
className="input input-bordered w-full shrink-0 sm:w-fit"
|
||||||
|
@ -461,22 +461,18 @@ function EditableCloseDate(props: {
|
||||||
min="00:00"
|
min="00:00"
|
||||||
value={closeHoursMinutes}
|
value={closeHoursMinutes}
|
||||||
/>
|
/>
|
||||||
</Row>
|
<Button size={'xs'} color={'indigo'} onClick={() => onSave()}>
|
||||||
<Button
|
Set
|
||||||
className="mt-4"
|
|
||||||
size={'xs'}
|
|
||||||
color={'indigo'}
|
|
||||||
onClick={() => onSave()}
|
|
||||||
>
|
|
||||||
Done
|
|
||||||
</Button>
|
</Button>
|
||||||
|
</Row>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
className="mt-4"
|
className="mt-8"
|
||||||
size={'xs'}
|
size={'xs'}
|
||||||
color={'gray-white'}
|
color="red"
|
||||||
onClick={() => onSave(Date.now())}
|
onClick={() => onSave(Date.now())}
|
||||||
>
|
>
|
||||||
Close Now
|
Close market now
|
||||||
</Button>
|
</Button>
|
||||||
</Col>
|
</Col>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user