Add margins between headings and fields
This commit is contained in:
parent
e6aca19d67
commit
48bcd0637e
@ -90,7 +90,9 @@ export default function () {
|
|||||||
) : (
|
) : (
|
||||||
<Container maxW="container.md">
|
<Container maxW="container.md">
|
||||||
<Heading pb="32px">Book an Event</Heading>
|
<Heading pb="32px">Book an Event</Heading>
|
||||||
<Heading size="md">Event Type</Heading>
|
<Heading mb="8px" size="md">
|
||||||
|
Event Type
|
||||||
|
</Heading>
|
||||||
<RadioGroup onChange={setEventType} value={eventType}>
|
<RadioGroup onChange={setEventType} value={eventType}>
|
||||||
<HStack>
|
<HStack>
|
||||||
<Radio>FoTD</Radio>
|
<Radio>FoTD</Radio>
|
||||||
@ -109,7 +111,7 @@ export default function () {
|
|||||||
onChange={(e) => setEventDay(e.target.value.split("-")[2])}
|
onChange={(e) => setEventDay(e.target.value.split("-")[2])}
|
||||||
type="date"
|
type="date"
|
||||||
/>
|
/>
|
||||||
<Heading pt="16px" size="md">
|
<Heading mb="8px" pt="16px" size="md">
|
||||||
Event Details
|
Event Details
|
||||||
</Heading>
|
</Heading>
|
||||||
<Textarea
|
<Textarea
|
||||||
@ -118,6 +120,7 @@ export default function () {
|
|||||||
/>
|
/>
|
||||||
<Heading
|
<Heading
|
||||||
display={eventType === "rotw" ? "none" : undefined}
|
display={eventType === "rotw" ? "none" : undefined}
|
||||||
|
mb="8px"
|
||||||
pt="16px"
|
pt="16px"
|
||||||
size="md"
|
size="md"
|
||||||
>
|
>
|
||||||
@ -127,7 +130,9 @@ export default function () {
|
|||||||
onChange={(e) => setRiddleAnswer(e.target.value)}
|
onChange={(e) => setRiddleAnswer(e.target.value)}
|
||||||
placeholder="Riddle answer"
|
placeholder="Riddle answer"
|
||||||
/>
|
/>
|
||||||
<Button onClick={async () => await submit()}>Book</Button>
|
<Button mt="16px" onClick={async () => await submit()}>
|
||||||
|
Book
|
||||||
|
</Button>
|
||||||
</Container>
|
</Container>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user