Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add margins between headings and fields
  • Loading branch information
regalijan committed Feb 22, 2024
1 parent e6aca19 commit 48bcd06
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions app/routes/book-event.tsx
Expand Up @@ -90,7 +90,9 @@ export default function () {
) : (
<Container maxW="container.md">
<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}>
<HStack>
<Radio>FoTD</Radio>
Expand All @@ -109,7 +111,7 @@ export default function () {
onChange={(e) => setEventDay(e.target.value.split("-")[2])}
type="date"
/>
<Heading pt="16px" size="md">
<Heading mb="8px" pt="16px" size="md">
Event Details
</Heading>
<Textarea
Expand All @@ -118,6 +120,7 @@ export default function () {
/>
<Heading
display={eventType === "rotw" ? "none" : undefined}
mb="8px"
pt="16px"
size="md"
>
Expand All @@ -127,7 +130,9 @@ export default function () {
onChange={(e) => setRiddleAnswer(e.target.value)}
placeholder="Riddle answer"
/>
<Button onClick={async () => await submit()}>Book</Button>
<Button mt="16px" onClick={async () => await submit()}>
Book
</Button>
</Container>
);
}

0 comments on commit 48bcd06

Please sign in to comment.