Tweaks for create market page

This commit is contained in:
jahooma 2022-01-06 21:32:46 -06:00
parent 6d86a5eb49
commit bdb46fc7c1

View File

@ -100,7 +100,7 @@ export default function NewContract() {
<form> <form>
<div className="form-control w-full"> <div className="form-control w-full">
<label className="label"> <label className="label">
<span className="label-text">Question</span> <span className="mb-1">Question</span>
</label> </label>
<Textarea <Textarea
@ -116,14 +116,14 @@ export default function NewContract() {
<div className="form-control"> <div className="form-control">
<label className="label"> <label className="label">
<span className="label-text">Initial probability</span> <span className="mb-1">Initial probability</span>
</label> </label>
<Row className="items-center gap-2"> <Row className="items-center gap-2">
<label className="input-group input-group-lg w-fit text-xl"> <label className="input-group input-group-lg w-fit text-xl">
<input <input
type="number" type="number"
value={initialProb} value={initialProb}
className="input input-bordered input-md text-primary text-4xl w-24" className="input input-bordered input-md text-primary text-3xl w-24"
disabled={isSubmitting} disabled={isSubmitting}
min={1} min={1}
max={99} max={99}
@ -148,7 +148,7 @@ export default function NewContract() {
<div className="form-control"> <div className="form-control">
<label className="label"> <label className="label">
<span className="label-text">Description</span> <span className="mb-1">Description</span>
</label> </label>
<Textarea <Textarea
className="textarea w-full textarea-bordered" className="textarea w-full textarea-bordered"
@ -164,7 +164,7 @@ export default function NewContract() {
<AdvancedPanel> <AdvancedPanel>
<div className="form-control mb-1"> <div className="form-control mb-1">
<label className="label"> <label className="label">
<span className="label-text">Subsidize your market</span> <span className="mb-1">Subsidize your market</span>
</label> </label>
<label className="input-group"> <label className="input-group">
@ -194,7 +194,7 @@ export default function NewContract() {
<div className="form-control"> <div className="form-control">
<label className="label"> <label className="label">
<span className="label-text">Close date</span> <span className="mb-1">Close date</span>
</label> </label>
<input <input
type="date" type="date"