Adjust create page styles
This commit is contained in:
parent
4e8b94a28c
commit
8392bb2944
|
@ -40,10 +40,10 @@ export function MultipleChoiceAnswers(props: {
|
||||||
/>
|
/>
|
||||||
{answers.length > 2 && (
|
{answers.length > 2 && (
|
||||||
<button
|
<button
|
||||||
className="btn btn-xs btn-outline ml-2"
|
className="-mr-2 rounded p-2"
|
||||||
onClick={() => removeAnswer(i)}
|
onClick={() => removeAnswer(i)}
|
||||||
>
|
>
|
||||||
<XIcon className="h-4 w-4 flex-shrink-0" />
|
<XIcon className="h-5 w-5 flex-shrink-0" />
|
||||||
</button>
|
</button>
|
||||||
)}
|
)}
|
||||||
</Row>
|
</Row>
|
||||||
|
|
|
@ -22,7 +22,10 @@ export function ChoicesToggleGroup(props: {
|
||||||
} = props
|
} = props
|
||||||
return (
|
return (
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
className={clsx(className, 'flex flex-row flex-wrap items-center gap-3')}
|
className={clsx(
|
||||||
|
className,
|
||||||
|
'flex flex-row flex-wrap items-center gap-2 sm:gap-3'
|
||||||
|
)}
|
||||||
value={currentChoice.toString()}
|
value={currentChoice.toString()}
|
||||||
onChange={setChoice}
|
onChange={setChoice}
|
||||||
>
|
>
|
||||||
|
|
|
@ -299,7 +299,7 @@ export function NewContract(props: {
|
||||||
<Row className="gap-2">
|
<Row className="gap-2">
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
className="input input-bordered"
|
className="input input-bordered w-32"
|
||||||
placeholder="MIN"
|
placeholder="MIN"
|
||||||
onClick={(e) => e.stopPropagation()}
|
onClick={(e) => e.stopPropagation()}
|
||||||
onChange={(e) => setMinString(e.target.value)}
|
onChange={(e) => setMinString(e.target.value)}
|
||||||
|
@ -310,7 +310,7 @@ export function NewContract(props: {
|
||||||
/>
|
/>
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="number"
|
||||||
className="input input-bordered"
|
className="input input-bordered w-32"
|
||||||
placeholder="MAX"
|
placeholder="MAX"
|
||||||
onClick={(e) => e.stopPropagation()}
|
onClick={(e) => e.stopPropagation()}
|
||||||
onChange={(e) => setMaxString(e.target.value)}
|
onChange={(e) => setMaxString(e.target.value)}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user