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