market close styling

This commit is contained in:
mantikoros 2022-10-04 19:06:59 -05:00
parent 3f0b665753
commit f551e6c469

View File

@ -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}
/> />
<Button size={'xs'} color={'indigo'} onClick={() => onSave()}>
Set
</Button>
</Row> </Row>
<Button <Button
className="mt-4" className="mt-8"
size={'xs'} size={'xs'}
color={'indigo'} color="red"
onClick={() => onSave()}
>
Done
</Button>
<Button
className="mt-4"
size={'xs'}
color={'gray-white'}
onClick={() => onSave(Date.now())} onClick={() => onSave(Date.now())}
> >
Close Now Close market now
</Button> </Button>
</Col> </Col>
</Modal> </Modal>